Minor code reformat.
This commit is contained in:
parent
c8bc70a6bb
commit
6327ccf523
1 changed files with 5 additions and 5 deletions
|
@ -60,6 +60,11 @@ import qualified Control.Exception as E
|
||||||
import Text.Pandoc.MIME (getMimeType, extensionFromMimeType)
|
import Text.Pandoc.MIME (getMimeType, extensionFromMimeType)
|
||||||
import Control.Applicative ((<|>))
|
import Control.Applicative ((<|>))
|
||||||
|
|
||||||
|
data ListMarker = NoMarker
|
||||||
|
| BulletMarker
|
||||||
|
| NumberMarker ListNumberStyle ListNumberDelim Int
|
||||||
|
deriving (Show, Read, Eq, Ord)
|
||||||
|
|
||||||
data WriterState = WriterState{
|
data WriterState = WriterState{
|
||||||
stTextProperties :: [Element]
|
stTextProperties :: [Element]
|
||||||
, stParaProperties :: [Element]
|
, stParaProperties :: [Element]
|
||||||
|
@ -73,11 +78,6 @@ data WriterState = WriterState{
|
||||||
, stLists :: [ListMarker]
|
, stLists :: [ListMarker]
|
||||||
}
|
}
|
||||||
|
|
||||||
data ListMarker = NoMarker
|
|
||||||
| BulletMarker
|
|
||||||
| NumberMarker ListNumberStyle ListNumberDelim Int
|
|
||||||
deriving (Show, Read, Eq, Ord)
|
|
||||||
|
|
||||||
defaultWriterState :: WriterState
|
defaultWriterState :: WriterState
|
||||||
defaultWriterState = WriterState{
|
defaultWriterState = WriterState{
|
||||||
stTextProperties = []
|
stTextProperties = []
|
||||||
|
|
Loading…
Reference in a new issue