         tex :
             bold :
                 wrap :
-                    left  : '{\\bf '
+                    left  : '\\textbf{'
                     right : '}'
             italic :
                 wrap :
-                    left  : '{\\em '
+                    left  : '\\textit{'
                     right : '}'
             underline :
                 wrap :

            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:

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

        md :
