Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
5ce91f6
Initial stub MoinMoin Reader
jmtd Feb 3, 2026
0265d04
Readers.MoinMoin: processing instructions and headers
jmtd Feb 4, 2026
f61bb12
basic bulletList
jmtd Feb 4, 2026
d1da1fd
initial externalLink (quite broken)
jmtd Feb 4, 2026
4b5ab88
fixed externalLink
jmtd Feb 5, 2026
7171fb2
Fix multiple-item bullet lists
jmtd Feb 5, 2026
71f4192
handle italics
jmtd Feb 6, 2026
86d4085
Add (most of) the inline formatters
jmtd Feb 7, 2026
4265dac
Add my test file
jmtd Feb 7, 2026
ecb9b5b
simplify `formatter` via Text.Pandoc.Builder builders
jmtd Feb 8, 2026
8d107f7
handle 'special' characters after other inline parsers
jmtd Feb 8, 2026
022d1bf
move test moinmoin document out of testMoin
jmtd Feb 8, 2026
25fdb18
start work on identifying camelcase wikilinks
jmtd Feb 8, 2026
757105c
parse camelCaseLinks
jmtd Feb 9, 2026
573cbd1
fix stroke; add smaller and larger
jmtd Feb 9, 2026
6888ba7
(DEV) Simon's MoinMoin as TODO
jmtd Feb 17, 2026
435352e
(DEV) some test text from Simon's plugin
jmtd Feb 17, 2026
a3ab7a9
Swap order of bold/italic
jmtd Feb 17, 2026
01cd039
(DEV) reformat TODO and tick stuff off
jmtd Feb 17, 2026
5d30f94
Handle WikiLink sub-pages
jmtd Feb 17, 2026
4c5ff55
Initial stub Tests.Readers.MoinMoin
jmtd Feb 17, 2026
20935b0
basic inline tests for MoinMoin
jmtd Feb 17, 2026
ddf3b2b
helper functions to reduce the verbosity of `tests`
jmtd Feb 17, 2026
be4c4cf
headings tests
jmtd Feb 17, 2026
11627bf
testcase: italic and bold
jmtd Feb 17, 2026
1fcf8b5
tests for superscript, subscript, strikout
jmtd Feb 17, 2026
02b0cf2
tests for larger,smaller, some link types
jmtd Feb 17, 2026
ff32f81
add Simon's copyright
jmtd Feb 17, 2026
33890cf
unicode copyright symbol
jmtd Feb 18, 2026
133d691
fix parse result of trailing 's' for two tests
jmtd Feb 18, 2026
df4d45d
new test for space within bold delimiters
jmtd Feb 18, 2026
ffc990c
WIP: rework 'bold' to have optional internal inlines
jmtd Feb 18, 2026
4737152
Initial monospace (-> Code)
jmtd Feb 18, 2026
dddcd8c
use Text.Show.Pretty to pretty-print Pandoc type
jmtd Feb 18, 2026
320cf1f
Comment about pre-2007 MoinMoin syntax
jmtd Feb 19, 2026
7d51967
improve debugging routines
jmtd Feb 19, 2026
2e0f21e
para: stop throwing away leading spaces
jmtd Feb 19, 2026
580fff3
generalise types of p1,pp so they can be used with blocks
jmtd Feb 19, 2026
8c79c97
parse comments
jmtd Feb 19, 2026
b60526d
note existence of writeNative
jmtd Feb 19, 2026
8fc9c56
Improve processing instruction comments
jmtd Feb 19, 2026
489da22
Inline (C-style) comments
jmtd Feb 19, 2026
bac4efc
test for newlines in basic text, adjust comment2 accordingly
jmtd Feb 19, 2026
90a4c25
Revert "para: stop throwing away leading spaces"
jmtd Feb 19, 2026
1cafba1
(DEV) remove some moin 1.5 stuff we don't care about
jmtd Feb 19, 2026
0eb4b1a
fix PI comment
jmtd Feb 19, 2026
2d94e58
test newline, to demonstrate faulty newline handling
jmtd Feb 19, 2026
63cc71f
endline (initial): soft-breaks inside paras
jmtd Feb 20, 2026
535cd5b
Add Simon Michael and John MacFarlane copyrights
jmtd Feb 20, 2026
89d904d
fix handling of endline and PI comments
jmtd Feb 20, 2026
13c7b4d
tests for empty delimiters
jmtd Feb 20, 2026
cfca054
Initial support for <<TableOfContents()>>
jmtd Feb 21, 2026
e41b140
TableOfContents: handle optional level
jmtd Feb 21, 2026
2e19951
(DEV) test file tweaks
jmtd Feb 21, 2026
92a8d23
fix header-level flattening >5 -> 5
jmtd Feb 21, 2026
3481b27
remove some done TODOs
jmtd Feb 21, 2026
0c2382b
anchor tests
jmtd Feb 21, 2026
59d0af3
lineBreak
jmtd Feb 21, 2026
57ddff4
anchor done
jmtd Feb 21, 2026
9349ad6
anchor
jmtd Feb 21, 2026
7f84ece
inline {{{code}}} (not the multiline parser)
jmtd Feb 22, 2026
9136624
Initial Parser block-handler
jmtd Feb 23, 2026
cb97b5a
parser delim: >3 braces and embedded brace strings
jmtd Feb 25, 2026
2c45830
implement custom parser delimeters
jmtd Feb 25, 2026
1d07656
bare email and uri detection (from Simon's work)
jmtd Feb 26, 2026
f9b1cc1
(DEV) rm some stuff taken or not needed
jmtd Feb 26, 2026
1ab92b4
fix monospace inline not spanning lines
jmtd Feb 26, 2026
e0f8288
initial parserHashBang
jmtd Feb 27, 2026
604528c
expand parserHashBang, list supported dialects
jmtd Mar 1, 2026
ae67d3c
hook parserHashBang into parser
jmtd Mar 1, 2026
c9ee7a6
Add unit tests for parserHashBang and newlines in arguments
jmtd Mar 2, 2026
3608187
fix parsing ParserWiki
jmtd Mar 5, 2026
7f65995
begin extend parser to handle code highlighting
jmtd Mar 4, 2026
f0355c4
Implement parser-wiki class handling
jmtd Mar 5, 2026
ac45d9a
Map MoinMoin highlight names to Pandoc
jmtd Mar 7, 2026
a69d591
inclusion macro
jmtd Mar 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
528 changes: 528 additions & 0 deletions SimonMoin.hs

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion pandoc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ description: Pandoc is a Haskell library for converting from one markup
- Interactive notebook formats (Jupyter notebook ipynb)
- Page layout formats (InDesign ICML)
- Wiki markup formats (MediaWiki, DokuWiki, TikiWiki, TWiki,
Vimwiki, XWiki, ZimWiki, Jira wiki, Creole)
Vimwiki, XWiki, ZimWiki, Jira wiki, Creole, MoinMoin)
- Slide show formats (LaTeX Beamer, PowerPoint, Slidy,
reveal.js, Slideous, S5, DZSlides)
- Data formats (CSV and TSV tables, Excel spreadsheets)
Expand Down Expand Up @@ -616,6 +616,7 @@ library
Text.Pandoc.Readers.RIS,
Text.Pandoc.Readers.CslJson,
Text.Pandoc.Readers.MediaWiki,
Text.Pandoc.Readers.MoinMoin,
Text.Pandoc.Readers.Vimwiki,
Text.Pandoc.Readers.RST,
Text.Pandoc.Readers.Org,
Expand Down Expand Up @@ -763,6 +764,7 @@ library
Text.Pandoc.Readers.Mdoc.Lex,
Text.Pandoc.Readers.Mdoc.Macros,
Text.Pandoc.Readers.Mdoc.Standards,
Text.Pandoc.Readers.MoinMoin.Highlight,
Text.Pandoc.Readers.Typst.Parsing,
Text.Pandoc.Readers.Typst.Math,
Text.Pandoc.Readers.ODT.Base,
Expand Down Expand Up @@ -867,6 +869,7 @@ test-suite test-pandoc
Tests.Readers.JATS
Tests.Readers.Jira
Tests.Readers.Markdown
Tests.Readers.MoinMoin
Tests.Readers.Org
Tests.Readers.Org.Block
Tests.Readers.Org.Block.CodeBlock
Expand Down
2 changes: 2 additions & 0 deletions src/Text/Pandoc/Readers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ module Text.Pandoc.Readers
, readDjot
, readPod
, readXML
, readMoinMoin
-- * Miscellaneous
, getReader
, getDefaultExtensions
Expand Down Expand Up @@ -103,6 +104,7 @@ import Text.Pandoc.Readers.JATS (readJATS)
import Text.Pandoc.Readers.Jira (readJira)
import Text.Pandoc.Readers.LaTeX
import Text.Pandoc.Readers.MediaWiki
import Text.Pandoc.Readers.MoinMoin
import Text.Pandoc.Readers.Muse
import Text.Pandoc.Readers.Native
import Text.Pandoc.Readers.ODT
Expand Down
Loading
Loading