Posts

Notes about Markdown issues and solutions

Summary Markdown Code Blocks: Horizontal Scroll Issue on GitHub The Problem:  Code blocks in Markdown don't wrap text—they preserve exact formatting, which is essential for executable code. However, on GitHub's responsive design, long lines in code blocks force horizontal scrolling even on desktop. On mobile, this severely impacts readability. Note that for this case, VSCode Markdown preview may wrap the text and not show horizontal scrollbar. The Issue with Using Code Blocks for Everything:  A common mistake is using code blocks for all code-like content, including example output, markup demonstrations, and non-executable examples. While code blocks provide syntax highlighting, they sacrifice user experience on narrower viewports or even wide viewports if the content has long lines exceeding viewport width. The Solution: Choose Based on Semantic Intent Use code blocks when: Displaying executable code that requires exact formatting and indentation Syntax highlighting improves ...

Chrome Bookmarklet development harness; Stable Bookmarklets: h3anchor, copyashtml, copyastextwithURL

Last updated on 12 Feb 2026 Quick Info Public GitHub repo for Chrome Bookmarklet Development and Testing Harness h3anchor bookmarklet that adds anchor link to selected h3 header Use the h3anchor Chrome bookmarklet to add anchor links to specific h3 headers in Blogger. Then generate a TOC for these anchored sections using the Auto-header-ids-toc VSCode extension. This approach is faster and safer than applying the extension to the whole post when only a few sections need anchors and post needs a TOC. =================================================================== =================================================================== Details Yesterday (10 Feb 2026), with the help of ChatGPT, I experimented with setting up a small development workflow for Chrome bookmarklets and using it for a particular bookmarklet I needed.  Contents Chrome Bookmarklet Development and Testing Harness h3anchor Bookmarklet Using h3anchor along with Auto-header-ids-toc VSCode extn...

Detailed ChatGPT exchanges for my post: Quick look at Claude Code-generated Bhagavad Gita ...

In relation to my previous post:  Quick look at Claude Code-generated Bhagavad Gita React Native and Expo app (no coding by author) , I had some ChatGPT exchanges which I felt are detailed exchanges and are more appropriate to share as a separate post, and so this post. Given below are extracts from a recent ChatGPT chat titled, AI app testing issues. Contents Testing of an AI generated app # AI Generated Learn Content for K-12 Mathematics # Impractical for me: Using Claude code for free with Ollama and free model # Claude Code can ingest and reason over entire folders or repositories # Why I have been using ChatGPT and Gemini chatbots mainly for AI assisted work # Testing of an AI generated app # Me: For a React and Node app, Jest testing seems to be referred to as 'snapshot testing'. I am used to the 'unit testing' term. Pls. explain snapshot testing in context of perhaps older term of unit testing. CG: You are right to a...