git.iko.soy/typeable/pandoc
on master help sign in
Added Text.Pandoc.Options.
commit0d21b8d6ae2546391085d6977962f7d471d9267f authorJohn MacFarlane <fiddlosopher@gmail.com> dateWed 25 Jul 2012, 10:18 (14 years ago) parentfbd3d2b
2 files changed+51
pandoc.cabal+1 src/Text/Pandoc/Options.hs+50
pandoc.cabal+1
@@ -259,6 +259,7 @@ Library
259259 -- END DUPLICATED SECTION
260260
261261 Exposed-Modules: Text.Pandoc,
262+ Text.Pandoc.Options,
262263 Text.Pandoc.Pretty,
263264 Text.Pandoc.Shared,
264265 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+