version 1.0.0
This commit is contained in:
parent
10d2a5bc6e
commit
b9a5d8bcf9
2
main.ts
2
main.ts
|
@ -70,7 +70,7 @@ class CodeBlockTab extends PluginSettingTab {
|
||||||
display(): void {
|
display(): void {
|
||||||
const { containerEl } = this;
|
const { containerEl } = this;
|
||||||
containerEl.empty();
|
containerEl.empty();
|
||||||
containerEl.createEl('h2', { text: 'Settings for code-block plugin' });
|
containerEl.createEl('h2', { text: 'Select active programming languages' });
|
||||||
|
|
||||||
hljs.listLanguages().sort().forEach((language: string) => {
|
hljs.listLanguages().sort().forEach((language: string) => {
|
||||||
const index = this.plugin.settings.languages.indexOf(language);
|
const index = this.plugin.settings.languages.indexOf(language);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"id": "code-block-plugin",
|
"id": "code-block-plugin",
|
||||||
"name": "Code Block Plugin",
|
"name": "Code Block",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"minAppVersion": "0.12.0",
|
"minAppVersion": "0.12.0",
|
||||||
"description": "This plugin converts selected text to code blocks with automatic language detection.",
|
"description": "This plugin converts selected text into code blocks with automatic language detection.",
|
||||||
"author": "Patrik Lindefors",
|
"author": "Patrik Lindefors",
|
||||||
"authorUrl": "https://github.com/paddan/code-block-plugin",
|
"authorUrl": "https://github.com/paddan/code-block-plugin",
|
||||||
"isDesktopOnly": false
|
"isDesktopOnly": false
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "obsidian-sample-plugin",
|
"name": "code-block-plugin",
|
||||||
"version": "1.0.1",
|
"version": "1.0.0",
|
||||||
"description": "This is a sample plugin for Obsidian (https://obsidian.md)",
|
"description": "This plugin converts selected text into code blocks with automatic language detection.",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node esbuild.config.mjs",
|
"dev": "node esbuild.config.mjs",
|
||||||
|
|
Loading…
Reference in New Issue