The Hugo codeblock highlight plugin allows users to highlight specific lines within code blocks in Obsidian using the Hugo syntax. By adding the `hl_lines` option to code blocks, users can highlight single lines or ranges of lines. Additionally, users can select lines directly within the code block and highlight them using a right-click menu. This functionality enhances the readability and visual appeal of code snippets, making it easier to focus on specific parts of the code. The plugin is optimized for Obsidian's Live Preview and Source modes.
Obsidian plugins tagged with #code-highlighting. There are 2 plugins in this collection.
- Rank 13 years ago by aarol
- Rank 28 days ago by Pratiyush Tiwari
The Native Notes plugin adds an Apple inspired appearance with five colour presets, light and dark palettes, adjustable text size and sidebar density. Its styling covers notes, navigation, callouts, tables, code blocks and diagrams. A floating outline supports heading search, collapsible sections and current section highlighting. Optional editing controls mark empty lines, vary nested bullet shapes and align standalone images or Mermaid diagrams. Bundled code highlighting includes line numbers, copy controls, collapsible sections and editable filenames and languages in Live Preview. Preferences can be exported and imported as profile text or JSON files without including notes. Fonts and icons stay local, with no telemetry or plugin network requests. Appearance changes leave Markdown untouched, while alignment and code header edits persist in notes after disabling the plugin.