Show HN: Writemark, a dependency free web component for inline Markdown editing

24 points | by _boffin_ 3 hours ago

3 comments

  • sheept 17 minutes ago
    It'd be nice if there was a live demo without needing to clone the repo. Though I suppose I could just try it out with a bookmarklet:

        javascript:import('https://esm.sh/writemark-editor').then(() => document.body.append(document.createElement('writemark-editor')))
  • yabdulaah52 26 minutes ago
    Inline editing is underrated. Being able to see mistakes instantly cuts down a lot of the trial‑and‑error debugging in Markdown-heavy projects.
  • teo_zero 2 hours ago
    How can it be defined dependency free if it depends on Node.js?
    • _boffin_ 2 hours ago
      Dependency-free means zero runtime dependencies, not no dev tools. Could have explained that better.
      • teo_zero 2 hours ago
        Do you mean I don't need Node.js on the machine where I run it?
        • jjice 2 hours ago
          It's a web component so you run it in the browser without dependencies after it's already been built with Node.
          • _boffin_ 1 hour ago
            Doesn’t need to be built by node. It’s standalone.
    • chronicler 50 minutes ago
      it needs an operating system to run omg not dependency free
      • jpease 10 minutes ago
        Does this operating system also depend on an underlying computer?
        • xyzzy_plugh 0 minutes ago
          You're free to just step through the assembly manually. You might need some paper and a pen.