Remember Code Block Language

approved

by Junyoung Bang

Remember the language of the last code block you used and automatically insert it next time. - This plugin has not been manually reviewed by Obsidian staff.

83 downloadsUpdated 6mo agoGPL-3.0

Remember Code Block Language

This plugin remembers the last language you used and automatically add it to the code block the next time you create a code block.

Just start typing a code block (```) and it'll automatically insert your last used language. You can also set a default language in settings if you tend to use one language more than others.

Features

  • Automatically remembers your last used code block language
  • Command to insert a code block with the remembered language
  • Customizable default language

Installation

Install from the Community Plugins browser in Obsidian, or manually install by copying main.js, manifest.json to your vault's .obsidian/plugins/remember-code-block-lang/ folder.

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.