Code Blocks commands

approved

by dragonish

Provide commands to insert code blocks with markup, and support triggering commands with backticks.

1 stars323 downloadsUpdated 9mo agoMIT
View on GitHub

Code Blocks commands

English | 简体中文 | 繁體中文

Introduction

This is a plugin for Obsidian. Provide commands to insert code blocks with markup, and support triggering commands with backticks.

Features

Insert code blocks with markup

You can insert code blocks with markup using the command:

list-languages

Triggering commands with backticks

You can trigger the markup selection menu by using backticks:

trigger-suggestions

Other features

  • The plugin will sort the markup list based on usage habits.
  • Allow custom syntax highlighting markups. For each language:
    • Markup: Required, the markup of the language.
    • Language name: Optional, the name of the language.
    • Markup title: Optional, for markup that is not derived from the language name, a related title can be provided for easy retrieval.

Credits

License

MIT license

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.