Chris Chua
sirh.cc
Chris Chua
@sirh.cc
Software engineer in Singapore
Remote, Staff+, Platform Engineering, Developer Experience, full-stack, Python, bazel
Previously: In San Francisco, Data Visualization, web, graphics

sirh.cc
Dug into the source, looks like exclusions are managed here github.com/withastro/as...

Will contribute an excludeLangs option when I get a chance.
github.com
February 24, 2025 at 2:17 PM
Ah glad to know that the defaults on Hugo support it. I see gohugo.io/content-mana...
Diagrams
Use fenced code blocks and Markdown render hooks to include diagrams in your content.
gohugo.io
February 24, 2025 at 2:14 PM
Reposted by Chris Chua
Ran into this issue.
Syntax highlighting breaks the default way of rendering it via code blocks.
I haven’t found a way to turn off syntax highlighting only for mermaid while leaving it on for other languages.

This is frustrating given I’d think this is a common use case since they support GFM.
February 24, 2025 at 1:15 PM
@webpro.nl @ssp.sh @cassidoo.co in case you’ve taken a stab at mermaid rendering on your blog, curious what you’ve came up with.

I haven’t dug into the syntax highlighting internals but perhaps I should.
February 24, 2025 at 1:22 PM
…and GFM (GitHub Flavored Markdown) supports mermaid rendering.
February 24, 2025 at 1:15 PM
Ran into this issue.
Syntax highlighting breaks the default way of rendering it via code blocks.
I haven’t found a way to turn off syntax highlighting only for mermaid while leaving it on for other languages.

This is frustrating given I’d think this is a common use case since they support GFM.
February 24, 2025 at 1:15 PM
Was wondering who else heard that…
February 5, 2025 at 4:57 PM
Future LinkedIn skill:
* Able to persuade diverse set of LLM models.
January 25, 2025 at 11:11 AM
I meant that typically two modes (mocks, real endpoints) are kept available in the test code.
If the test strictly requires mocks and will never run without mocks (i.e. a mode that records new mocks such as when API endpoints have updated) then I typically regard it less of an integration test.
January 15, 2025 at 5:52 AM
It’s okay to do so but there’s still a way to run it without the mocked APIs to hit real endpoints.
It’s not that they must rely on mocks being available.
January 15, 2025 at 5:27 AM
Book that comes to mind is: Non-violent communication.

Not exactly about empathy directly but a tool to help with it.
January 12, 2025 at 12:17 PM
December 30, 2024 at 10:59 PM
Used ChatGPT as an editor, and published it. Done is better than perfect, heh.
December 30, 2024 at 10:21 PM
Ah, just saw this. You beat me to it.
December 30, 2024 at 11:43 AM
December 30, 2024 at 11:41 AM