Blog - #code
Markdown guides, tutorials, and tips for developers, writers, and students.
React Syntax Highlighter: Themes, Line Numbers (v16)
Set up React Syntax Highlighter v16: pick Prism or highlight.js, import themes, number and highlight lines, and shrink the bundle. Copy-ready code inside.
Code Block in Confluence: Cloud and Data Center Guide
Add a code block in Confluence Cloud or Data Center: shortcuts, language picker, line numbers, collapse, wiki markup. Draft code pages in our free editor.
Syntax Highlighter Compared: highlight.js, Prism, Shiki
Compare highlight.js, Prism and Shiki with working setup code, themes and dark mode. Pick the right syntax highlighter for your site. Try it free online.
Code in LaTeX: verbatim, listings and minted Explained
Learn how to put code in LaTeX with verbatim, listings or minted, plus styling, line numbers and captions, and which package fits your build. Try it now.
Code Block in Word: 5 Ways to Insert Formatted Code
Build a code block in Word five ways: a Code style, a one-cell table, VS Code paste, an add-in or Markdown. Keep code copyable. Try our free converter now.
Code Documentation Example: Comments to README
See a code documentation example at every layer: inline comments, JSDoc, docstrings, Javadoc, Go, file headers and a README. Copy the pattern for free.
Code Block HTML: pre and code Tags with Examples
Learn the code block HTML pattern with pre and code: what to escape, how whitespace behaves, CSS styling and line numbers. Copy the working examples free.
Code Screenshot: Make Clean Images of Your Code
Make a clean code screenshot with CodeSnap in VS Code, Carbon, Ray.so or a browser tool, export sharp PNG or SVG, and see when a code block works better.
Google Docs Code Block: Insert and Format Code
Learn how to insert a Google Docs code block on Workspace, build one by hand on a free account, or use an add-on. Keep code copy-safe. Try our free editor.
Mermaid ER Diagram: Syntax, Keys and Examples (2026)
Write a Mermaid ER diagram in Markdown: relationship markers, PK and FK keys, quoting rules, styling and version gotchas for new syntax. Test it free.
Camel Case: camelCase vs PascalCase With Examples
What is camel case? See lower vs upper (Pascal) case by language, plus the acronym and number rules style guides use. Convert names free in your browser.
LaTeX Inline Code: texttt, verb and lstinline Compared
LaTeX inline code made simple: when to use texttt, verb or lstinline, how to escape ~ and _, and how to fix verb in footnotes. Copy the tested examples.
Markdown Code Block Languages: Identifier Cheat Sheet
Markdown code block languages in one table: every identifier and alias that works on GitHub, Discord, Obsidian, and VS Code, with examples. Try our free editor.
Markdown Diff: Compare Files and Write Diff Blocks
Learn markdown diff two ways: the diff code block that colors added and removed lines, and git word-diff or GitHub rich diff to compare .md files. Try it free.