You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/quad/quadwriter/markup.rkt

20 lines
645 B
Racket

#lang debug racket/base
(require "lang-helper.rkt"
"tags.rkt"
(only-in "markdown.rkt" doc-proc))
(provide #%top #%datum #%app #%top-interaction
(all-from-out "tags.rkt")
q)
(make-module-begin doc-proc)
(module reader racket/base
(require "lang-helper.rkt" pollen/decode)
(provide read-syntax get-info)
(define get-info get-info-texty)
(define read-syntax
(make-read-syntax 'quadwriter/markup
(λ (path-string ip)
(decode-paragraphs
(syntax->datum (quad-at-reader path-string ip))
#:force? #true)))))