mirror of
https://github.com/patruusbarba/ObsidianSpoilerPlugin.git
synced 2026-07-22 07:48:59 +00:00
Adds an Obsidian plugin that places a button on the left ribbon. Selecting text and pressing it wraps the selection in a collapsible `> [!spoiler]-` callout; pressing it on an existing spoiler unwraps it back to plain text. Also exposed as the "Toggle spoiler on selection" command. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
24 lines
381 B
JSON
24 lines
381 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"inlineSourceMap": true,
|
|
"inlineSources": true,
|
|
"module": "ESNext",
|
|
"target": "ES2018",
|
|
"allowJs": true,
|
|
"noImplicitAny": true,
|
|
"moduleResolution": "node",
|
|
"importHelpers": true,
|
|
"isolatedModules": true,
|
|
"strictNullChecks": true,
|
|
"lib": [
|
|
"DOM",
|
|
"ES5",
|
|
"ES6",
|
|
"ES7"
|
|
]
|
|
},
|
|
"include": [
|
|
"**/*.ts"
|
|
]
|
|
}
|