Blog - #code

Markdown guides, tutorials, and tips for developers, writers, and students.

All
code

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.

November 11, 2026·10 min read

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.

November 11, 2026·9 min read

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.

November 11, 2026·10 min read

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.

November 11, 2026·10 min read

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.

November 11, 2026·9 min read

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.

November 11, 2026·13 min read

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.

November 11, 2026·9 min read

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.

November 11, 2026·10 min read

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.

November 11, 2026·10 min read

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.

November 11, 2026·12 min read

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.

November 11, 2026·9 min read

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.

November 11, 2026·9 min read

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.

September 11, 2026·10 min read

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.

September 11, 2026·9 min read

Markdown Code Block: Inline Code and Fenced Blocks

Add code blocks in markdown using backticks for inline code and triple backticks for fenced blocks. Includes syntax highlighting for 20+ languages.

April 9, 2026·6 min read