nowfound

Dev tools · July 20, 2024

MW

Mdxish – Write high-quality, interactive blog posts in Markdown, live

Hi HN! I wanted an easier way to write technical interactive blog posts. So I built `mdxish`! You can write in markdown, mixing classic markdown, html, and javascript together, and see the output html live as you author it. Writing it in this way creates a really nice medium for the source (easy to read), which is just markdown mixed with code blocks. Also, many IDEs have support for syntax highlighting and intellisense / autocomplete features inside these code blocks. And because `marked` (one of the only dependencies, but does near all of the heavy lifting) works client side, we can…

What it does

In the maker’s words, at launch

Hi HN! I wanted an easier way to write technical interactive blog posts. So I built `mdxish`! You can write in markdown, mixing classic markdown, html, and javascript together, and see the output html live as you author it. Writing it in this way creates a really nice medium for the source (easy to read), which is just markdown mixed with code blocks. Also, many IDEs have support for syntax highlighting and intellisense / autocomplete features inside these code blocks. And because `marked` (one of the only dependencies, but does near all of the heavy lifting) works client side, we can even render markdown directly to html on the client side. For example, I created a gist of my falling sand blog post, rewritten in mdxish format: https://gist.github.com/jasonjmcghee/cba64163600fa90a3ea5d2e... (also threw in the css it used as other files in that gist) And now you or I or anyone can just replace "gist.github" with "mdxish". https://mdxish.com/jasonjmcghee/cba64163600fa90a3ea5d2ea099f... And after a slight delay, you get the full rendered post- and the author only needs to upload to gist. `mdxish` itself can do this client approach, the live server, or just one-off mdxish flavored md to html. In the live mode, you can store state that persists across updates, like "time" (very useful for iterating on animations). Anyway, hope others find this interesting / useful. If you'd like to contribute, please let me know! Try it out and tell me what you think. I've created a repo for doing GitHub Actions, the idea being, you should be able to just create a repo of mdxish flavored markdown and it'll take care of making it a full site for you. But not quite done with that yet! Note: I also added a short video with a voice-over if you'd like to see it in action.

Does the same job

all alternatives →

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, July 2024

the whole month →
  • Sugar detox app

    AI · 2024 · apps.apple.com

  • Mobbin 2.01,657

    Discover real-world design inspiration

    Work · 2024 · mobbin.com

  • folk 3.01,591

    The CRM for companies who care about people

    Dev tools · 2024 · folk.app

  • SuperGPT1,206

    Use ChatGPT on Google Sheets

    AI · 2024 · superjoin.ai

  • IC

    Many years ago, I made VJ softwares (to mix live visuals in clubs) for unexpected platforms like the Game Boy Advance, the Playstation 2 and the Raspberry Pi. This year, I’m back with a new web-app: Pikimov. Inspired by Photopea (a free Photoshop clone), I created this web-based motion design & video editor as an alternative to After Effects, to fill empty void. It's free, without signup, without cloud uploads (your files stay on your machine), and your projects are not used for AI models training.

    AI · 2024 · pikimov.com

  • Motiff1,150

    AI powered professional UI design tool

    AI · 2024 · motiff.com