obsidian-sample-plugin/README.md

12 lines
581 B
Markdown

# Code Block Plugin
This plugin converts selected text or pasted text into a code block with automatic programming language detection. The languages that
is detectable can be selected in the plugin settings. The language detection is provided by highlight.js and is in no means
perfect, but it works most of the time. If it guesses wrong, remove that language from the list and try again.
<video>
<source src="Screen Recording 2022-06-12 at 21.19.25.webm" type="video/webm">
Your browser does not support the video tag.
</video>
<img height="600" src="usage.gif" width="800"/>