John MacFarlane
27304513f6
Added Ext_raw_html extension.
...
Closes #556 -- you can now specify markdown-raw_html as your
input format. (Read: markdown minus raw_html.)
2012-08-12 22:04:23 -07:00
John MacFarlane
e8e8468d69
Implemented Ext_mmd_title_block in markdown reader & writer.
2012-08-12 19:27:13 -07:00
John MacFarlane
6f3e228bd9
Mardkown reader: Implemented Ext_markdown_attribute.
2012-08-11 19:44:23 -07:00
John MacFarlane
872fd2fb9c
Revert "Implemented Ext_markdown_attribute."
...
This reverts commit 78d3a0fb9d
.
2012-08-11 16:36:54 -07:00
John MacFarlane
78d3a0fb9d
Implemented Ext_markdown_attribute.
...
This adds markdown=1 to block tags.
2012-08-11 15:04:12 -07:00
John MacFarlane
eb4d522a56
Options and documentation for backslash tex math options.
...
Ext_tex_math_single_backslash and Ext_tex_math_double_backslash.
Still need to code in reader.
2012-08-10 21:57:54 -07:00
John MacFarlane
417cde38af
Changed Ext_tex_math to Ext_tex_math_dollars.
2012-08-10 21:52:18 -07:00
John MacFarlane
88804c89bb
Removed refs to Ext_header_identifiers in comments.
2012-08-10 21:48:05 -07:00
John MacFarlane
dfa4b76630
Changes to literate haskell options.
...
- Removed writerLiterateHaskell from WriterOptions.
- Removed readerLiterateHaskell from ReaderOptions.
- Added Ext_literate_haskell to Extensions. Test for this
instead of the above.
- Removed failUnlessLHS from Shared.
Note: At this point, +lhs and .lhs extension no longer has any effect.
Need to fix.
2012-08-08 23:18:19 -07:00
John MacFarlane
f9f6e5ec6f
Made pandocExtensions default for reader/writer options.
2012-08-07 13:17:30 -07:00
John MacFarlane
8a101cffe3
Support hard_line_breaks markdown extension.
...
* Added Ext_hard_line_breaks.
* Added section in README on non-pandoc extensions.
* Exported pandocExtensions and strictExtensions in Text.Pandoc.Options.
Closes #514 .
2012-08-06 22:14:35 -07:00
John MacFarlane
eb99b7e7b9
Commented out extensions that don't yet do anything.
2012-07-27 19:04:11 -07:00
John MacFarlane
7905feac3f
Removed deprecated writerXeTeX.
2012-07-27 16:01:17 -07:00
John MacFarlane
f0b9d52fd3
Markdown reader: Added sensitivity to Ext_example_lists.
2012-07-27 16:00:27 -07:00
John MacFarlane
b98219773b
Replaced writerStrict with writerExtensions in WriterOptions.
...
Still have not implemented individual tests for all the extensions
in the markdown writer.
2012-07-27 09:18:51 -07:00
John MacFarlane
00dc1e715e
Moved WriterOptions and associated types Shared -> Options.
2012-07-26 22:59:56 -07:00
John MacFarlane
33fdea67b5
Use readerExtensions instead of readerStrict in readers.
...
Test individually for the extensions.
2012-07-26 20:29:08 -07:00
John MacFarlane
631e5c16fc
pandoc: Set readerExtensions instead of readerStrict.
2012-07-26 18:56:19 -07:00
John MacFarlane
acde1e82d2
Changed reader parameters from ParserState to ReaderOptions.
2012-07-25 22:35:41 -07:00
John MacFarlane
9b5d2031c7
Restored stateStandalone as readerStandalone.
...
It is indeed needed by the RST reader.
2012-07-25 22:05:06 -07:00
John MacFarlane
2654da3823
Moved stateApplyMacros, stateIndentedCodeClasses to ReaderOptions.
2012-07-25 22:05:06 -07:00
John MacFarlane
070b968ae0
stateCitations -> readerCitations.
2012-07-25 22:05:06 -07:00
John MacFarlane
856aa8c244
Moved stateLiterateHaskell to readerLiterateHaskell in Options.
2012-07-25 22:05:06 -07:00
John MacFarlane
95570ba34c
Moved stateOldDashes to readerOldDashes in ReaderOptions.
2012-07-25 12:37:04 -07:00
John MacFarlane
335cd5de4d
Moved stateTabStop to readerTabStop in ReaderOptions.
2012-07-25 12:31:16 -07:00
John MacFarlane
0d4424c21c
Moved stateColumns to readerColumns in ReaderOptions.
2012-07-25 11:51:33 -07:00
John MacFarlane
ef0619cc6d
Moved ParseRaw from ParserState to ReaderOptions.
2012-07-25 11:43:56 -07:00
John MacFarlane
dfa19061ab
Options -> ReaderOptions.
...
Better to keep reader and writer options separate.
2012-07-25 11:08:06 -07:00
John MacFarlane
da3702357d
Put smart, strict in separate options field in state.
...
This is the beginning of a larger transition that will make
Options, not ParserState, the parameter of the read functions.
(Options will also be used in writers, in place of WriterOptions.)
Next step is to remove strict, replacing it with granular
tests for different extensions.
2012-07-25 10:45:45 -07:00
John MacFarlane
0d21b8d6ae
Added Text.Pandoc.Options.
2012-07-25 10:18:57 -07:00