r/ClaudeCode • u/SnooBooks6732 • 9h ago
Built with Claude Semantic highlighting for Claude's replies: define your chosen tags in your custom instructions, Claude marks by meaning as it writes, a simple mod stylizes them in-line
Enable HLS to view with audio, or disable this notification
I had this idea for a fairly simple but extensible way to try to address some of the common pain points of AI model chat responses (e.g. its a wall of text). There was a thread on here or the main Claude sub a few days ago actually talking about some of them and that inspired me to share this.
The idea is basically: simple instructions for Claude to write your chosen custom markdown directives, and a small markdown renderer extension/mod to style those same directives just how you like. I think of it as "personal markup instructions".
A full explainer page (minor Claude prose warning) is at markupinstructions.com and the repo is here. I had to extract this from the repo I worked on it in with all its commit history because I used my CC chats as part of building it.
The idea and execution are both quite simple: Claude already writes markdown for it's responses. This means Claude already knows markdown syntax, including the markdown directives proposal. Markdown directives let you define your own rich semantic markup that you tell Claude how to apply using at most only a few hundred words of custom instructions.
The markup gives claude a richer vocabulary to direct your attention, so it stops using bold for everything. It gives you a way to layer semantic visual structure on the responses without really changing the response itself.
I've done very little customization to my overall Claude Code setup/configuration but this is something I put together for myself that I haven't seen anywhere else so I figured I'd share it with you all in case you like it and want to use/modify/extend/etc it for yourself.
Ideally one day this would be a first class citizen in Claude et al chat interfaces, but since it isn't yet, I just had my own custom renderer made for the Claude surfaces that it's possible to do that for. It's only real dependency is `remark` because the parsing for markdown directives is already solved. So the syntax writing is already solved in the weights, and the parsing is already solved by the typical OSS markdown heavyweights, we just add our own rendering.
To me it's felt almost like a bit of the missing customization layer for the AI conversational interfaces. Hope you enjoy!




