Documentation enhancement: Monodraw

peterdshannon's Avatar

peterdshannon

29 Jun, 2017 08:20 AM

Hi,

really like Marked 2; very flexible and makes tools like Vim (ithoughtsX too) very powerful.

Anyway, I've always had a soft spot for those ASCII art diagrams found in RFCs and the like so I was quite excited to get hold of Monodraw. I'm sure its not the first to make ASCII art drawing easier but it does a good job and can export text straight to the clipboard  The thing is it relies on Unicode and a particular font; to use it with Marked 2 requires a small change to the CSS. These are my changes for pre and code tags:

pre code {
    font-family: Menlo, Georgia, Garamond, serif !important;
    font-size: 50%;
}

It's based on what Marked 2 uses, only the font Menlo is inserted and I set the font-size according the the diagrams I'm making. Perhaps your users might find a note to this effect useful in your documentation on integration.

Best Regards,

Peter.

  1. Support Staff 1 Posted by Brett on 29 Jun, 2017 03:49 PM

    Brett's Avatar

    Thanks for the tip! I'll add it to the FAQs.

    -Brett

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac