<story><title>ASCII art for semantic code commenting</title><url>https://asciiflow.com/#/</url></story><parent_chain><item><author>w4rh4wk5</author><text>For what it&amp;#x27;s worth, I keep a file in my home folder containing some box drawing characters. It&amp;#x27;s not super fast to draw by copy-paste but the result usually looks quite nice.&lt;p&gt;&lt;pre&gt;&lt;code&gt;    ─  │  ┌ ┬ ┐
    ┄  ┆  ├ ┼ ┤ ╲ ╱
    ┈  ┊  └ ┴ ┘

    ━  ┃  ┏ ┳ ┓ ┏ ┯ ┓ ┏ ┳ ┓ ┏ ┯ ┓
    ┅  ┇  ┣ ╋ ┫ ┣ ┿ ┫ ┠ ╂ ┨ ┠ ┼ ┨
    ┉  ┋  ┗ ┻ ┛ ┗ ┷ ┛ ┗ ┻ ┛ ┗ ┷ ┛&lt;/code&gt;&lt;/pre&gt;</text></item></parent_chain><comment><author>chrismorgan</author><text>Vim has &lt;i&gt;digraphs&lt;/i&gt; for all of these characters, which I like to use. e.g. you can get ┌ with &amp;lt;C-K&amp;gt;dr (d = down, r = right), and ┨ with &amp;lt;C-K&amp;gt;Vl (V = heavy vertical, l = left). To find the mappings, :digraphs shows the whole list, or copy this block of text and put the cursor over any of the characters in normal mode and type ga and it’ll echo things like “&amp;lt;┠&amp;gt; 9504, Hex 2520, Oct 22440, Digr Vr”.&lt;p&gt;(I use a Compose key for almost all character composition, with plenty of custom mappings in my ~&amp;#x2F;.XCompose, but box drawing specifically I have skipped and use Vim digraphs, and so drop into Vim any time I want to write any.)</text></comment>
<story><title>ASCII art for semantic code commenting</title><url>https://asciiflow.com/#/</url></story><parent_chain><item><author>w4rh4wk5</author><text>For what it&amp;#x27;s worth, I keep a file in my home folder containing some box drawing characters. It&amp;#x27;s not super fast to draw by copy-paste but the result usually looks quite nice.&lt;p&gt;&lt;pre&gt;&lt;code&gt;    ─  │  ┌ ┬ ┐
    ┄  ┆  ├ ┼ ┤ ╲ ╱
    ┈  ┊  └ ┴ ┘

    ━  ┃  ┏ ┳ ┓ ┏ ┯ ┓ ┏ ┳ ┓ ┏ ┯ ┓
    ┅  ┇  ┣ ╋ ┫ ┣ ┿ ┫ ┠ ╂ ┨ ┠ ┼ ┨
    ┉  ┋  ┗ ┻ ┛ ┗ ┷ ┛ ┗ ┻ ┛ ┗ ┷ ┛&lt;/code&gt;&lt;/pre&gt;</text></item></parent_chain><comment><author>sixstringtheory</author><text>For those on macOS&amp;#x2F;iOS, using custom text expansions [0] also helps to do this without having to leave the doc you’re editing. I’ve built up tons of these over the years for things like ⌘ (“commandkey”) → (“rightarrow”) (╯°□°)╯︵ ┻━┻ (“tableflip”) and of course, a party parrot wave for Slack (“parrotwave” →  :parrotwave1::parrotwave2::parrotwave3::parrotwave4::parrotwave5::parrotwave6::parrotwave7:). They can sync over iCloud and you can export&amp;#x2F;import them with plists.&lt;p&gt;I now want to add table characters like these, just need to come up with a good naming convention…&lt;p&gt;[0]: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;support.apple.com&amp;#x2F;en-gb&amp;#x2F;guide&amp;#x2F;mac-help&amp;#x2F;mh35735&amp;#x2F;12.0&amp;#x2F;mac&amp;#x2F;12.0#apda1248791ae294&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;support.apple.com&amp;#x2F;en-gb&amp;#x2F;guide&amp;#x2F;mac-help&amp;#x2F;mh35735&amp;#x2F;12.0&amp;#x2F;...&lt;/a&gt;</text></comment>