@@ -9,12 +9,9 @@ literals `md"..."` and `doc"..."`.
99""" 
1010module  Markdown
1111
12- import  Base:  AnnotatedString, AnnotatedIOBuffer,  show, == , with_output_color, mapany
12+ import  Base:  show, == , with_output_color, mapany
1313using  Base64:  stringmime
1414
15- using  StyledStrings:  StyledStrings, Face, addface!, @styled_str , styled
16- using  JuliaSyntaxHighlighting:  highlight, highlight!
17- 
1815#  Margin for printing in terminal.
1916const  margin =  2 
2017
@@ -37,26 +34,6 @@ export @md_str, @doc_str
3734
3835public  MD, parse
3936
40- const  MARKDOWN_FACES =  [
41-     :markdown_header  =>  Face (weight= :bold ),
42-     :markdown_h1  =>  Face (height= 1.25 , inherit= :markdown_header ),
43-     :markdown_h2  =>  Face (height= 1.20 , inherit= :markdown_header ),
44-     :markdown_h3  =>  Face (height= 1.15 , inherit= :markdown_header ),
45-     :markdown_h4  =>  Face (height= 1.12 , inherit= :markdown_header ),
46-     :markdown_h5  =>  Face (height= 1.08 , inherit= :markdown_header ),
47-     :markdown_h6  =>  Face (height= 1.05 , inherit= :markdown_header ),
48-     :markdown_admonition  =>  Face (weight= :bold ),
49-     :markdown_code  =>  Face (inherit= :code ),
50-     :markdown_footnote  =>  Face (inherit= :bright_yellow ),
51-     :markdown_hrule  =>  Face (inherit= :shadow ),
52-     :markdown_inlinecode  =>  Face (inherit= :markdown_code ),
53-     :markdown_latex  =>  Face (inherit= :magenta ),
54-     :markdown_link  =>  Face (underline= :bright_blue ),
55-     :markdown_list  =>  Face (foreground= :blue ),
56- ]
57- 
58- __init__ () =  foreach (addface!, MARKDOWN_FACES)
59- 
6037parse (markdown:: String ; flavor =  julia) =  parse (IOBuffer (markdown), flavor =  flavor)
6138
6239""" 
0 commit comments