News for hackers. Stuff that matters.
Re:Interesting ideas in Observable Framework by crabmusket on Monday March 04, 2024 @07:40AM (#39589730)
Yes, it has the same issue as e.g. automatically rendering Mermaid diagrams on GitHub: now you can't just show a block of Mermaid code, without dropping the language annotation.
Re:Interesting ideas in Observable Framework by mbostock on Monday March 04, 2024 @08:45AM (#39590384)
You can write ```mermaid run=false for that.
Re:Interesting ideas in Observable Framework by simonw on Monday March 04, 2024 @08:25AM (#39590168)
There's a trick you can use there (which works with GFM and with Framework too): wrap a block in four backticks like this:

    Here is a mermaid example:
    ````
    ```mermaid
    Code here
    ```
    ````
    Copy that into a Markdown file to try it