No description
Find a file
2025-12-08 16:32:14 +08:00
.github/workflows Rename plugin to "Remember Code Block Language" and update related configurations. Remove main.ts file and adjust entry point in esbuild.config.mjs to src/main.ts. Update package.json description to reflect new functionality. 2025-12-08 16:15:18 +08:00
agents Rename plugin to "Remember Code Block Language" and update related configurations. Remove main.ts file and adjust entry point in esbuild.config.mjs to src/main.ts. Update package.json description to reflect new functionality. 2025-12-08 16:15:18 +08:00
src Rename plugin to "Remember Code Block Language" and update related configurations. Remove main.ts file and adjust entry point in esbuild.config.mjs to src/main.ts. Update package.json description to reflect new functionality. 2025-12-08 16:15:18 +08:00
.editorconfig Initial commit 2025-12-08 14:44:19 +08:00
.eslintignore Initial commit 2025-12-08 14:44:19 +08:00
.eslintrc Initial commit 2025-12-08 14:44:19 +08:00
.gitignore Initial commit 2025-12-08 14:44:19 +08:00
.npmrc Initial commit 2025-12-08 14:44:19 +08:00
AGENTS.md Initial commit 2025-12-08 14:44:19 +08:00
esbuild.config.mjs Rename plugin to "Remember Code Block Language" and update related configurations. Remove main.ts file and adjust entry point in esbuild.config.mjs to src/main.ts. Update package.json description to reflect new functionality. 2025-12-08 16:15:18 +08:00
LICENSE Update LICENSE to GNU General Public License v3 and modify README to reflect new plugin functionality and installation instructions. 2025-12-08 16:19:22 +08:00
manifest.json Update version to 1.0.2 in manifest.json, package.json, and package-lock.json 2025-12-08 16:32:14 +08:00
package-lock.json Update version to 1.0.2 in manifest.json, package.json, and package-lock.json 2025-12-08 16:32:14 +08:00
package.json Update version to 1.0.2 in manifest.json, package.json, and package-lock.json 2025-12-08 16:32:14 +08:00
README.md Update LICENSE to GNU General Public License v3 and modify README to reflect new plugin functionality and installation instructions. 2025-12-08 16:19:22 +08:00
styles.css Initial commit 2025-12-08 14:44:19 +08:00
tsconfig.json Initial commit 2025-12-08 14:44:19 +08:00
version-bump.mjs Initial commit 2025-12-08 14:44:19 +08:00
versions.json Initial commit 2025-12-08 14:44:19 +08:00

Remember Code Block Language

Ever find yourself typing the same language name over and over when creating code blocks? This plugin remembers the last language you used and automatically suggests it 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
  • Auto-injects the language when you type a code block (can be disabled in settings)
  • 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.