                     right : ''
             horizontalRule:
                 wrap:
-                    left  : "\n\noindent\makebox[\linewidth]{\rule{\paperwidth}{0.4pt}}\n"
+                    left  : "\\hrulefill"
+                    #left  : "\n\\noindent\\makebox[\\linewidth]{\\rule{\\paperwidth}{0.4pt}}\n"
                     right : ""
 
         md :

            format_heading_1 :  # todo -- define via for loop below
                strip : ['format_heading_2','format_heading_3','format_heading_4']
                wrap :
                    left  : "#"
                    right : ""
            format_heading_2 :
                strip : ['format_heading_1','format_heading_3','format_heading_4']
                wrap :
                    left  : "##"
                    right : ""
            format_heading_3 :
                strip : ['format_heading_1','format_heading_2','format_heading_4']
                wrap :
                    left  : "###"
                    right : ""
            format_heading_4 :
                strip : ['format_heading_1','format_heading_2','format_heading_3']
                wrap :
                    left  : "####"
                    right : ""
            format_code :  # TODO: I think indentation is probably nicer?  on single line ` is nicer.
                wrap :
                    left  : '```'
                    right : '```'
            indent :
                wrap :
                    left  : "> "
                    right : ""
            horizontalRule:
                wrap:

        tex :
            bold :
                wrap :
                    left  : '\\textbf{'
                    right : '}'
            italic :
                wrap :
                    left  : '\\textit{'
                    right : '}'
            underline :
                wrap :
