git.iko.soy/typeable/pandoc
on master help sign in
Added Text.Pandoc.Options.
0d21b8dJohn MacFarlane
pandoc.cabal+1
@@ -259,6 +259,7 @@ Library
259 -- END DUPLICATED SECTION
259 -- END DUPLICATED SECTION
260
260
261 Exposed-Modules: Text.Pandoc,
261 Exposed-Modules: Text.Pandoc,
262+ Text.Pandoc.Options,
262 Text.Pandoc.Pretty,
263 Text.Pandoc.Pretty,
263 Text.Pandoc.Shared,
264 Text.Pandoc.Shared,
264 Text.Pandoc.Parsing,
265 Text.Pandoc.Parsing,
src/Text/Pandoc/Options.hsnew file+50
@@ -0,0 +1,50 @@
1+{-
2+Copyright (C) 2012 John MacFarlane <jgm@berkeley.edu>
3+
4+This program is free software; you can redistribute it and/or modify
5+it under the terms of the GNU General Public License as published by
6+the Free Software Foundation; either version 2 of the License, or
7+(at your option) any later version.
8+
9+This program is distributed in the hope that it will be useful,
10+but WITHOUT ANY WARRANTY; without even the implied warranty of
11+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+GNU General Public License for more details.
13+
14+You should have received a copy of the GNU General Public License
15+along with this program; if not, write to the Free Software
16+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17+-}
18+
19+{- |
20+ Module : Text.Pandoc.Options
21+ Copyright : Copyright (C) 2012 John MacFarlane
22+ License : GNU GPL, version 2 or above
23+
24+ Maintainer : John MacFarlane <jgm@berkeley.edu>
25+ Stability : alpha
26+ Portability : portable
27+
28+Data structures and functions for representing parser and writer
29+options.
30+-}
31+module Text.Pandoc.Options ( Extension(..)
32+ ) where
33+import Data.Set (Set)
34+
35+-- | Individually selectable markdown syntax extensions.
36+data Extension = Footnotes
37+ | TeX_math
38+ | Delimited_code_blocks
39+ | Markdown_in_HTML_blocks
40+ | Fancy_lists
41+ | Definition_lists
42+ | Header_identifiers
43+ | All_symbols_escapable
44+ | Intraword_underscores
45+ | Blank_before_blockquote
46+ | Blank_before_header
47+ | Significant_bullets
48+ deriving (Show, Read, Enum, Eq, Bounded)
49+
50+