@@ -50,6 +50,7 @@ data Opt = Opt
50 , optReader :: Maybe String -- ^ Reader format
50 , optReader :: Maybe String -- ^ Reader format
51 , optWriter :: Maybe String -- ^ Writer format
51 , optWriter :: Maybe String -- ^ Writer format
52 , optTableOfContents :: Bool -- ^ Include table of contents
52 , optTableOfContents :: Bool -- ^ Include table of contents
53+ , optShiftHeadingLevel :: Int -- ^ Shift heading level by
53 , optBaseHeaderLevel :: Int -- ^ Base header level
54 , optBaseHeaderLevel :: Int -- ^ Base header level
54 , optTemplate :: Maybe FilePath -- ^ Custom template
55 , optTemplate :: Maybe FilePath -- ^ Custom template
55 , optVariables :: [(String,String)] -- ^ Template variables to set
56 , optVariables :: [(String,String)] -- ^ Template variables to set
@@ -124,6 +125,7 @@ defaultOpts = Opt
124 , optReader = Nothing
125 , optReader = Nothing
125 , optWriter = Nothing
126 , optWriter = Nothing
126 , optTableOfContents = False
127 , optTableOfContents = False
128+ , optShiftHeadingLevel = 0
127 , optBaseHeaderLevel = 1
129 , optBaseHeaderLevel = 1
128 , optTemplate = Nothing
130 , optTemplate = Nothing
129 , optVariables = []
131 , optVariables = []