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
626 B
Racket

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