1 codeSpan replace(///\s+///, " ", plainText x)2 else concatenate apply(contents x, c ->3 if isLink c then markdownInline c else codeSpan plainText4))56----------------------------------------------------------------------7-- Blocks8----------------------------------------------------------------------910markdownBlocks Thing := x -> {paragraph markdownInline x}11markdownBlocks Nothing :=12 markdownBlocks Option :=13 markdownBlocks COMMENT :=14 markdownBlocks SCRIPT :=15 markdownBlocks STYLE := x -> {}16markdownBlocks LATER := x -> markdownBlocks x#0()17markdownBlocks Hypertext := x -> blocksOf contents x18markdownBlocks MENU := x -> markdownBlocks redoMENU x
HELP -> MARKDOWN
writePackageMarkdown
SUMMARY.md
book.toml
MarkdownDocs
Writes Macaulay2 package documentation as Markdown, ready to build as mdBooks.
- Macaulay2
- mdBook
Loading documentation