summaryrefslogtreecommitdiff
path: root/src/wikitext.rs
AgeCommit message (Expand)AuthorFilesLines
2023-05-14refactor: add a new set-of-pages abstractionLars Wirzenius1-3/+3
2023-01-25feat: keep track of which pages a page links toLars Wirzenius1-0/+1
2023-01-07refactor: add WikitextErrorLars Wirzenius1-4/+16
2023-01-07refactor: drop RikiError::PageProblem, add SiteErrorLars Wirzenius1-6/+2
2023-01-07refactor: move directive errors to src/directive/mod.rsLars Wirzenius1-3/+4
2023-01-07refactor: rename SiteError to RikiErrorLars Wirzenius1-6/+6
2022-11-09feat: implement rudimentary table of contents, without linksLars Wirzenius1-11/+10
2022-11-09refactor: processing a directive returns Processed type, not StringLars Wirzenius1-3/+6
2022-10-02reformat: add missing empty lineLars Wirzenius1-0/+1
2022-09-01feat: allow shortcuts to be defined anywhereLars Wirzenius1-0/+15
2022-08-24fix: more errors show page where problem isLars Wirzenius1-2/+5
2022-08-21feat: set output HTML file mtime from "meta date" directiveLars Wirzenius1-1/+1
2022-08-10feat: implement shortcut directiveLars Wirzenius1-2/+12
2022-07-31chore: reformat codeLars Wirzenius1-7/+1
2022-07-30chore: drop unused old WikitextParserLars Wirzenius1-288/+0
2022-07-24feat: allow a directive to have any number of unnamed argumentsLars Wirzenius1-28/+12
2022-07-23fix: rewrite the wikitext parser so it handles directives betterLars Wirzenius1-2/+2
2022-07-22feat: img directiveLars Wirzenius1-28/+62
2022-07-20change Site::resolve to return a ResultLars Wirzenius1-1/+1
2022-07-17feat: "meta title" directiveLars Wirzenius1-59/+52
2022-07-17feat: resolve links to other pagesLars Wirzenius1-2/+12
2022-07-17fix: allow more character in page names in wiki linksLars Wirzenius1-8/+37
2022-07-09perf: compile regexes less oftenLars Wirzenius1-57/+98
2022-07-08feat: handle unknown directives as NOP, for nowLars Wirzenius1-1/+5
2022-07-08feat: rework how a site is represented and output createdLars Wirzenius1-101/+5
2022-07-02feat: add a directive traitLars Wirzenius1-18/+16
2022-07-02test: fix "empty input" subplot scenarioLars Wirzenius1-8/+11
2022-07-02refactor: make WikiPage::new never failLars Wirzenius1-3/+3
2022-06-30add tests for wikitext parsingLars Wirzenius1-11/+106
2022-06-29drop debug printsLars Wirzenius1-9/+0
2022-06-29actually produce HTMLLars Wirzenius1-0/+4
2022-06-29simplify interfacesLars Wirzenius1-2/+25
2022-06-29set page title with meta title directiveLars Wirzenius1-8/+52
2022-06-26fix directive arg parsingLars Wirzenius1-9/+56
2022-06-26fix directive quoted arg parsingLars Wirzenius1-1/+1
2022-06-26parse wikilinksLars Wirzenius1-5/+9
2022-06-26fix directive parsingLars Wirzenius1-19/+34
2022-06-26some wikitext parsingLars Wirzenius1-4/+45
2022-06-26construct markdown from snippetsLars Wirzenius1-2/+14
2022-06-26wikipage produces markdown, not htmlLars Wirzenius1-8/+3
2022-06-26restart approach to wikitext parsingLars Wirzenius1-117/+81
2022-06-26simplifyLars Wirzenius1-13/+2
2022-06-26refactor: dryLars Wirzenius1-6/+7
2022-06-26wikitext: strongLars Wirzenius1-0/+20
2022-06-26refactor: testsLars Wirzenius1-7/+7
2022-06-26wikitext: emphasisLars Wirzenius1-1/+22
2022-06-26tweak test caseLars Wirzenius1-1/+1
2022-06-26wikitext: two paragraphsLars Wirzenius1-7/+88
2022-06-26wikitext: para block, text inlineLars Wirzenius1-1/+11
2022-06-26wikitext: startLars Wirzenius1-0/+23