gettalong / kramdown

kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax definition and supporting several common extensions.
http://kramdown.gettalong.org
Other
1.72k stars 275 forks source link

What syntax should I use to wrap ASCII art #811

Closed helloHKTK closed 2 months ago

helloHKTK commented 2 months ago

What syntax should I use to wrap ASCII art in Kramdown as shown below:

          .               .                .               .--- 1          .-- 1     / 1
         / \              |                |           .---+            .-+         +
        /   \         .---+---.         .--+--.        |   '--- 2      |   '-- 2   / \ 2
       +     +        |       |        |       |    ---+            ---+          +
      / \   / \     .-+-.   .-+-.     .+.     .+.      |   .--- 3      |   .-- 3   \ / 3
     /   \ /   \    |   |   |   |    |   |   |   |     '---+            '-+         +
     1   2 3   4    1   2   3   4    1   2   3   4         '--- 4          '-- 4     \ 4
gettalong commented 2 months ago

Best use the fenced codeblock syntax:

ASCII art Goes here

gettalong commented 2 months ago

@helloHKTK Please only write in English or German - thank you!