Show HN: Markdown Viewer and Editor

(kingsbridge-consultancy.com)

22 points | by beerglass 9 hours ago ago

11 comments

  • eleventen 3 hours ago ago

    No syntax highlighting in the editor? I vibecoded a pretty robust browser Filesystem API based markdown editor myself too last week. Recommend either rolling your own with a transparent textbox layered approach or just using Monaco or https://codemirror.net/.

    I did a markdown kanban thing. Filesystem API is very cool and underused. https://github.com/subdavis/mdello/

    • beerglass 2 hours ago ago

      Thanks for your suggestion. I use plain textarea so that Undo, Spellcheck work seamlessly. Monaco at 5MB+ is bigger than the whole app. Will instead try highlight.js for transparent overlay.

  • jystervinou 7 hours ago ago

    Hi,

    Noob question, but how do you author a math equation? There are dedicated editors I guess?

    • beerglass 2 hours ago ago

      Included a basic "insert math" option to insert LaTeX for math symbols, greek letters, relations & operators. If you work with Math equations regularly, try it out and share any suggestions for improvements.

    • beerglass 7 hours ago ago
    • Garlef 7 hours ago ago

      There's a language for it (LaTeX).

      It looks like this:

      \int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}

      • jystervinou 5 hours ago ago

        Thank's, i was wondering if people were typing this latex by hand, or with a specialized visual editor.

        • beerglass 2 hours ago ago

          Update: added an insert-equation button in the toolbar of my MD Viewer

  • hyperhello 6 hours ago ago

    Thoughtful UI. Really nice. Good job!

    • beerglass 2 hours ago ago

      Thanks, mate. If you work with .md files all day, try this for a few days and share feedback or suggestions for improvements.