1. Moritz Heidkamp
  2. lowdown

Commits

Moritz Heidkamp  committed ef6a1f0

Add markdown->html convenience procedure

  • Participants
  • Parent commits b7b9208
  • Branches master

Comments (0)

Files changed (1)

File lowdown.scm

View file
 
 (module lowdown
 
-(markdown->sxml markdown->sxml* markdown-sxml->html-sxml)
+(markdown->sxml markdown->sxml* markdown-sxml->html-sxml markdown->html)
 
 (import chicken scheme)
 (use data-structures srfi-1 clojurian-syntax comparse
 (define (markdown->sxml input)
   (markdown-sxml->html-sxml (markdown->sxml* input)))
 
+(define (markdown->html input)
+  (-> (markdown->sxml input)
+      (pre-post-order*  universal-conversion-rules*)
+      (SRV:send-reply)))
+
 )