racket / scribble

Other
201 stars 93 forks source link

Feature request: --org-mode output #197

Open anthrolisp opened 5 years ago

anthrolisp commented 5 years ago

Feature request for org-mode output: --org-mode — org-mode source "fn.org"

spdegabrielle commented 4 years ago

@anthrolisp Nice idea!

The markdown renderer might be a good starting point if you were to try this out

https://github.com/racket/scribble/blob/master/scribble-lib/scribble/markdown-render.rkt https://docs.racket-lang.org/scribble/running.html

jackmac92 commented 2 years ago

Markdown renderer is a great starting point! one issue I'm having is with these > that appear to be added as a prefix in code blocks

```racket
> (: misuse (String -> String))
> (define (misuse s)
--

(can't figure out how to escape the fence close)

could someone point me in the right direction for how to format code block output?

bennn commented 2 years ago

Try changing render-nested-flow. Look for the style 'code-inset.