Skip to content

SkepticMystic/codeblock-completer

Repository files navigation

Codeblock Completer

Codeblock Completer adds a editor suggestor modal for you to quickly complete codeblock names.

Simply type ``` to see a dropdown list of possible options.

You can filter the list by typing more letters:

It draws from all the codelocks types added by plugins in your vault, but you can also add custom types from the settings tab:

Once you press Enter to select an option, it will add two new lines and place the cursor on the first new line for you to start typing:

Templates

You can specify a template to apply for each codeblock type in the settings. When you auto-complete that codeblock type, your template will be inserted inside the codeblock.

  • Use $|$ to specify where the cursor will be placed on insertion

image