Changeset 18646 in project


Ignore:
Timestamp:
06/28/10 11:58:38 (11 years ago)
Author:
Moritz Heidkamp
Message:

hyde: introduce the parameter markdown-program for customizing the program used to translate markdown

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/hyde/trunk/hyde.scm

    r18505 r18646  
    1515 page-eval-env
    1616 translators
    17  compile-pages)
     17 compile-pages
     18 markdown-program)
    1819
    1920(import chicken scheme files data-structures extras srfi-1 ports srfi-13)
     
    4243(define default-extension (make-parameter "html"))
    4344(define default-page-vars (make-parameter '()))
     45(define markdown-program (make-parameter "markdown"))
    4446
    4547(define translators (make-parameter '()))
     
    234236(define (translate/markdown)
    235237  (receive (in out pid err)
    236     (process* "markdown")
     238    (process* (markdown-program))
    237239    (with-output-to-port out read/write-lines)
    238240    (close-output-port out)
Note: See TracChangeset for help on using the changeset viewer.