Skip to content

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

License

Notifications You must be signed in to change notification settings

dragonish/code-blocks-commands

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project