Prepare for Obsidian community submission: id "spoiler", add LICENSE

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
root 2026-06-15 21:49:58 +00:00
parent 8c66faa8e5
commit 8959642d6e
3 changed files with 24 additions and 3 deletions

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 PatruusBarba
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -42,7 +42,7 @@ contents.
1. Download `obsidian-spoiler-plugin_v0.2.1.zip` from the
[latest release](https://github.com/PatruusBarba/ObsidianSpoilerPlugin/releases/latest).
2. Unzip it into your vault's plugins folder so you end up with
`<vault>/.obsidian/plugins/obsidian-spoiler-plugin/` containing `main.js` and
`<vault>/.obsidian/plugins/spoiler/` containing `main.js` and
`manifest.json`.
3. Reload Obsidian and enable **Spoiler** in *Settings → Community plugins*
(you may need to turn off *Restricted mode* first).
@ -55,7 +55,7 @@ npm run build
```
This produces `main.js`. Copy it together with `manifest.json` into
`<vault>/.obsidian/plugins/obsidian-spoiler-plugin/`, then reload Obsidian and
`<vault>/.obsidian/plugins/spoiler/`, then reload Obsidian and
enable the plugin as above.
## License

View file

@ -1,5 +1,5 @@
{
"id": "obsidian-spoiler-plugin",
"id": "spoiler",
"name": "Spoiler",
"version": "0.2.1",
"minAppVersion": "0.15.0",