{"repo":"mProjectsCode/obsidian-shiki-plugin","free":true,"listed":false,"github":"https://github.com/mProjectsCode/obsidian-shiki-plugin","clone":"git clone https://github.com/mProjectsCode/obsidian-shiki-plugin.git","description":"An Obsidian plugin that offers better code highlighting via shiki and Expressive Code.","language":"TypeScript","stars":235,"topics":["obsidian","obsidian-md","obsidian-plugin"],"license":"MIT","category":"productivity","readme_excerpt":"Shiki Highlighter This plugin integrates shiki via Expressive Code into Obsidian, providing better syntax highlighting for over 100 languages. This plugin works in reading, live preview and edit mode, providing a consistent experience across the app. Below is an example with line numbers, a custom header, and line highlighting. Comparison Default Obsidian syntax highlighting: Shiki Plugin syntax highlighting: Usage The plugin will automatically highlight code blocks in your notes. Inline Highlighting This plugin offers inline code block highlighting. The language for inline code blocks is specified via {lang} code . This feature can be turned off in the settings. Custom Themes This plugin comes bundled with a wide variety of themes. In addition, it supports custom JSON theme files compatible with VS Code. To enable custom themes, create a folder containing your theme files, and specify the folder's path relative to your Vault in the plugin settings. After restarting Obsidian, your custom themes will be available in the Theme dropdown. Code Block Configuration To configure the code block you add the configuration options on the same line as the opening triple backticks. language configurationHere some code ... More info on the configuration options can be found on the Expressive Code homepage. Line Numbers Line numbers can be enabled with showLineNumbers . language showLineNumbers some code ... Title A title can be added with title=\"Title Here\" . language title=\"Title Here\" so","default_branch":null,"files":null,"tree":[],"storefront":"/r/mProjectsCode","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mProjectsCode/obsidian-shiki-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}