Westreiche: Vault, Werkzeuge und Website
Neuinitialisierung ohne den PDF-Ballast (Regelwerke/Abenteuer/Magazine liegen auf dem Server, siehe tools/pdf_sync.py und tools/pdf_manifest.json). Vorherige Historie bewusst verworfen.
78
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
# These are some examples of commonly ignored file patterns.
|
||||
# You should customize this list as applicable to your project.
|
||||
# Learn more about .gitignore:
|
||||
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
|
||||
|
||||
# Node artifact files
|
||||
node_modules/
|
||||
dist/
|
||||
|
||||
# Compiled Java class files
|
||||
*.class
|
||||
|
||||
# Compiled Python bytecode
|
||||
*.py[cod]
|
||||
|
||||
# Log files
|
||||
*.log
|
||||
|
||||
# Package files
|
||||
*.jar
|
||||
|
||||
# Maven
|
||||
target/
|
||||
dist/
|
||||
|
||||
# JetBrains IDE
|
||||
.idea/
|
||||
|
||||
# Unit test reports
|
||||
TEST*.xml
|
||||
|
||||
# Generated by MacOS
|
||||
.DS_Store
|
||||
|
||||
# Generated by Windows
|
||||
Thumbs.db
|
||||
|
||||
# Applications
|
||||
*.app
|
||||
*.exe
|
||||
*.war
|
||||
|
||||
# Large media files
|
||||
*.mp4
|
||||
*.tiff
|
||||
*.avi
|
||||
*.flv
|
||||
*.mov
|
||||
*.wmv
|
||||
workspace-mobile.json
|
||||
.obisidian
|
||||
RPG/.obsidian/workspace.json
|
||||
*workspace.json
|
||||
*workspace-mobile.json
|
||||
|
||||
# Credentials
|
||||
credentials.txt
|
||||
|
||||
# Obsidian
|
||||
.trash/
|
||||
.obsidian/cache/
|
||||
.obsidian/*.json.tmp
|
||||
|
||||
# Python venv für PDF-Build (reportlab)
|
||||
.venv/
|
||||
|
||||
# Ausgelagerte Fremd-PDFs (Regelwerke, Abenteuer, Magazine) – liegen auf dem Server
|
||||
# außerhalb von public_html, Pflege über tools/pdf_sync.py (Manifest: tools/pdf_manifest.json)
|
||||
RPG/5-Regeln/Bücher/*.pdf
|
||||
RPG/5-Regeln/Preislisten/D&D Shop Catalog*.pdf
|
||||
RPG/1-Sessions/generische Tabellen/Kreaturen/*.pdf
|
||||
RPG/1-Sessions/generische Tabellen/Shop Catalog*.pdf
|
||||
RPG/7-Prep/*/Abenteuer/*.pdf
|
||||
RPG/7-Prep/*/Bücher/*.pdf
|
||||
RPG/7-Prep/*/Magazine/*.pdf
|
||||
RPG/7-Prep/*/MegaDungeons/*.pdf
|
||||
Druckmaterial/*.pdf
|
||||
Druckmaterial/**/*.pdf
|
||||
1
.obsidian/app.json
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{}
|
||||
1
.obsidian/appearance.json
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{}
|
||||
33
.obsidian/core-plugins.json
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"file-explorer": true,
|
||||
"global-search": true,
|
||||
"switcher": true,
|
||||
"graph": true,
|
||||
"backlink": true,
|
||||
"canvas": true,
|
||||
"outgoing-link": true,
|
||||
"tag-pane": true,
|
||||
"footnotes": false,
|
||||
"properties": true,
|
||||
"page-preview": true,
|
||||
"daily-notes": true,
|
||||
"templates": true,
|
||||
"note-composer": true,
|
||||
"command-palette": true,
|
||||
"slash-command": false,
|
||||
"editor-status": true,
|
||||
"bookmarks": true,
|
||||
"markdown-importer": false,
|
||||
"zk-prefixer": false,
|
||||
"random-note": false,
|
||||
"outline": true,
|
||||
"word-count": true,
|
||||
"slides": false,
|
||||
"audio-recorder": false,
|
||||
"workspaces": false,
|
||||
"file-recovery": true,
|
||||
"publish": false,
|
||||
"sync": true,
|
||||
"bases": true,
|
||||
"webviewer": false
|
||||
}
|
||||
135
.pi/wissensindex.md
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
# Wissensindex – RPG Westreiche (Pi-Arbeitsnotizen)
|
||||
|
||||
Schnellzugriff für mich (Pi). Bei Fragen zu Welt, Figuren oder Regeln zuerst
|
||||
hier nachsehen, dann gezielt in die genannte Datei springen.
|
||||
Diese Datei ist Arbeitsnotiz, keine Spieler-Handoute.
|
||||
|
||||
## 1. Spieler & Charaktere (`RPG/2-Spieler/`)
|
||||
|
||||
| Ordner (Spieler) | Charakterdatei | Rolle |
|
||||
| --- | --- | --- |
|
||||
| `Marco` | `Tarazul.md` | Magier |
|
||||
| `Michi` | `Rain.md` | Kämpferin |
|
||||
| `Silke` | `Harissa.md` | Harissa die Klinge |
|
||||
| `Udo` | `Terian.md` | Kleriker |
|
||||
| `Mike` | `Gregor Eisenhorn.md` | (in Sitzung 013 nicht dabei) |
|
||||
|
||||
**Namens-Fallen:** In den Protokollen werden die Spieler teils anders benannt als
|
||||
die Ordner – „Marco (Tarazul)" = Marco, „Rain (Michi)" = Michi,
|
||||
„Harissa (Silke)" = Silke. Wer nach einem *Spieler*nachnamen sucht, landet in
|
||||
der Sackgasse: immer über den **Charakternamen** suchen.
|
||||
Korrekte Schreibweisen (in Protokollen bereits bereinigt): **Tarazul**,
|
||||
**Rain**, **Harissa (die Klinge)**, **Terian**, **Gregor Eisenhorn**;
|
||||
Spieler: **Marco, Michi, Silke, Udo, Mike**.
|
||||
Falschschreibungen, die in alten Rohtranskripten (`.txt`) weiter vorkommen und
|
||||
nicht korrigiert werden: „Michaela" (= Michi), „Wilke" (= Silke),
|
||||
„Therian"/„Karazul"/„Regen" (= Terian/Tarazul/Rain). Rohtranskripte sind
|
||||
Originale, nur die Protokolle (`.md`) sind maßgeblich.
|
||||
Ebenfalls eine Fehltranskribierung im Rohtranskript: „Zara-Truhe" = **Zauber-Truhe**
|
||||
(die Rätseltruhe mit dem Drachen „Radi der Schlaue", Sitzung 013).
|
||||
Noch **inkonsistent** in Welt-Dateien: `Ammonator` vs. `Amaunator`,
|
||||
`Methafen` vs. `Methaven`, `Rambastolon` vs. `Rambastulon` (korrekt jeweils die
|
||||
zweite Form).
|
||||
Die Charakterdateien sind bisher sehr dünn (Bild, Geburtstag, Kontaktperson,
|
||||
Quests) – Learnings aus Sitzungen dort ergänzen, nicht in den Protokollen
|
||||
verscharren.
|
||||
|
||||
## 2. Sessions (`RPG/1-Sessions/`)
|
||||
|
||||
- Aktuell: `Sitzung 009` … `Sitzung 013` (neueste: **013, 24.10.2026**).
|
||||
- `Sitzungsarchiv/` enthält Sitzung 001–008.
|
||||
- `Geschehnisse-Index.md` – chronologischer Ereignis-Index, erster Anlaufpunkt.
|
||||
- Pro Sitzungsordner üblich: `Protokoll Sitzung NNN.md` (destilliert, maßgeblich),
|
||||
`YYYY-MM-DD_..._Sitzung_N.txt` (Roh-Transkript, nur bei Detailfragen),
|
||||
Prep-Dateien (`Übersicht Prep`, `Zufallstabellen`, Loot-Tabellen).
|
||||
- **Regel:** Inhaltliche Aussagen aus dem **Protokoll** zitieren, das Transkript nur
|
||||
als Beleg bei Unklarheiten.
|
||||
|
||||
## 3. Welt (`RPG/3-Welt/`)
|
||||
|
||||
- `Königreich Taloria/` → Herzlande, Nordmark, Westreiche (Schauplatz).
|
||||
- Siedlungen der Westreiche unter `.../Westreiche/Siedlungen/` – Startregion ist das
|
||||
**Kürbistal** mit dem Dorf **Methaven** (`Kürbistal.md`, `Methaven/1 Methaven.md`);
|
||||
Dungeons (z. B. Grabmal des alten Ritters) liegen in `.../Westreiche/Dungeons/`.
|
||||
- `Die Erz-Engel Amaunators.md` – himmlische Ordnung (Solathiel, Verathiel, Ordras,
|
||||
Elumat), Bündnisregeln für Paladine/Kleriker, Gerücht vom „schweigenden Engel“.
|
||||
- `Weltstatus & Offene Enden.md` – Zustand der Welt, guter Überblickseinstieg.
|
||||
- `Geheimnisse/` – SL-Wissen, nicht ungefragt in Spieler-Handouts streuen.
|
||||
Wichtig: **`Der Nekromant – Alodan.md`** – der Nekromant trägt nur eine Blutmaske mit
|
||||
Rambastulons Gesicht (enttarnt an der fehlenden Handprothese); dahinter Alodan, ein
|
||||
abgewiesener Adept des arkanen Konvents. Nicht mit Rambastulon verwechseln.
|
||||
`Die drei Tore im Grünen.md` – goldener Schlüssel + Notiz aus der Höhlenbeute, Radis Wissen
|
||||
(drei Tore, verbotene Reihenfolge), Ferrum-Bauart; Kanon und Vorschlag dort getrennt.
|
||||
- `Wetter/` – Wettertabellen.
|
||||
|
||||
## 4. Organisationen (`RPG/4-Organisationen/`)
|
||||
|
||||
Je eine Datei pro Fraktion, u. a. Königliches Magie-Kollegium (Niederlassung
|
||||
**Garana**, Eingang 36), Tassianische Handelsgilde, Greifengarde, Goldene Lords,
|
||||
Elbensteiner Hanse, Hüter von Aribor, Zentrum für Monsterüberwachung,
|
||||
Antagonisten. **Glaubensgemeinschaften** ebenfalls hier: Kirche des Amaunator,
|
||||
Scharlachroter Konvent, Jünger des Schwertfeuers, Orden der Seher, Naturzirkel
|
||||
(Liturgien-/Rangregeln in `5-Regeln/Hausregeln/Liturgien und
|
||||
Glaubensgemeinschaften.md`; **Standorte/Sitze** in
|
||||
`Glaubensgemeinschaften – Standorte.md` – Präsenzstufen Sitz / Stützpunkt /
|
||||
Zelle / kein Zugang).
|
||||
|
||||
## 5. Regeln (`RPG/5-Regeln/`)
|
||||
|
||||
- `Zauber/Arkan/`, `Zauber/Klerikal/` + `Zauber.md`; Lizenz-/Quellhinweise
|
||||
(`OSE-SRD-*`) beachten – System ist OSE-nah.
|
||||
- `Hausregeln/` ist für Regelantworten **vorrangig** vor SRD: u. a.
|
||||
„Erwerb und Abschreiben von Zaubern" (Lernzeit, Intelligenz-Check,
|
||||
Tinte-Kosten, Sperre), Carousing, Kampftechniken, Materialkomponenten,
|
||||
Gildenzauber, Wochen-/Rastaktivitäten, Liturgien und
|
||||
Glaubensgemeinschaften (klerikales Gegenstück zu Gildenzauber).
|
||||
- Kleriker-Detail: keine Zauberplätze, sondern **Stufe viele erbetene Liturgien**,
|
||||
wirken bis ein Spruchcheck misslingt; heiliges Symbol Pflicht; klerikaler Patzer
|
||||
= Kontaktverlust (Buße); neue Liturgien über **Gebetswoche** (1 Tag/Grad,
|
||||
Weisheits-Check − (Grad−1), 5 Taler/Grad), Gunststufen 0–3.
|
||||
- **Kein Sabbat** (gestrichen 20.11.2026, war AD&D-Erbe): stattdessen **Sonnenritus**
|
||||
– täglich 10 Min bei Sonnenaufgang, ein Ruhetag pro Reiseetappe, kein Kalender;
|
||||
Wochenritus gibt der Gruppe +1 auf den ersten Rettungswurf. Verpasst = 5 Taler
|
||||
Opfer oder Fasten, keine Mali. (Datei §1.2.1/§1.2.2)
|
||||
- **Regeländerungen datiert festhalten:** `5-Regeln/Hausregeln/Regeländerungen
|
||||
(Changelog).md` – Pflichteintrag bei jeder Hausregel-Änderung (Datum +
|
||||
Betrifft/Vorher/Jetzt/Warum/Am Tisch). Quelle der Website-Unterseite
|
||||
`westreiche/regeln.html` (Nav-Punkt „Regeln“, `build_regeln()` in
|
||||
`tools/build_site.py`).
|
||||
- `Hausregeln/Ruf und Ansehen.md` – Ruf/Ansehen −3 … +3 (Region) + Haltung je Fraktion;
|
||||
Wirkung als Modifikator auf Reaktionswürfe (2W6), ±5 % Preise, Zugang ab +2. Verdeckt geführt.
|
||||
- Hausregel-Detail: Lernen = **ein Tag pro Spruchgrad**, Intelligenz-Check
|
||||
(Grad 2: −1); Misserfolg → Tinte/Schriftrolle weg (10 Taler pro Spruchstufe)
|
||||
und **ein Monat Sperre für genau diesen Zauber**. Zauber müssen nicht
|
||||
memoriert werden.
|
||||
- `Preislisten/`, `Klassen/`, `Rassen/`, `Auszüge/`, `Bücher/`.
|
||||
|
||||
## 6. Prep & Dokumente
|
||||
|
||||
- **`RPG/7-Prep/Todo Prep.md` – Aufgabenliste für den nächsten Prep-Lauf**
|
||||
(offene Punkte zuerst abarbeiten).
|
||||
- `RPG/7-Prep/` – Abenteuer, Ereignisse, MegaDungeons, Magazine, Bücher.
|
||||
- `RPG/6-Dokumente/Charakterbogen.pdf`.
|
||||
- `RPG/offene_faeden.md` – Fadenliste, parallel zu „Offene Fäden" im Protokoll.
|
||||
- **Prep-Sessions:** `RPG/7-Prep/prep_<datum>/` bündelt das Material einer Runde.
|
||||
Verdeckter SL-Schirm (A5 quer) dort unter `SL Schirm/`: Quelle
|
||||
`SL-Schirm Inhalt.md` (Karten als Markdown, `## Karte …` = Seite), Bau via
|
||||
`tools/build_sl_schirm.py` – Quelle/Layout getrennt, daher pro Prep-Session
|
||||
wiederverwendbar.
|
||||
- `Druckmaterial/` + `tools/md2odt.sh`, `tools/autowidth.lua`,
|
||||
`tools/make_reference_odt.py` – Markdown → A5-ODT für Druck.
|
||||
- `tools/obsidian_preprocess.py` – Obsidian-Syntax für Export vorbereiten.
|
||||
|
||||
## 7. Konventionen / Learnings
|
||||
|
||||
- Antworten auf Deutsch, Würfel-/Regelbegriffe englisch.
|
||||
- Obsidian-Vault: `[[Wikilinks]]`, `![[Bilder]]`. Neue Notizen im passenden
|
||||
Ordner anlegen, nicht im Root.
|
||||
- Geld im Spiel: Gold + Silbertaler. Umrechnung in den Protokollen: 690 Taler
|
||||
= 69 Gold, d. h. **10 Silbertaler = 1 Gold**; „Taler" = Silbertaler.
|
||||
- Spieltermine sind **in-game-datiert** (z. B. Sitzung 013 = 24.10.2026);
|
||||
Zeitangaben wie „ein Monat Sperre" relativ zum Sitzungsdatum rechnen.
|
||||
- `.gitignore`: `credentials.txt` (FTPS-Zugang, siehe `AGENTS.md`).
|
||||
- `RPG/.obsidian/` ist versioniert, aber `*workspace.json`, `workspace-mobile.json`
|
||||
und `.trash/` sind ignoriert – Obsidian-Änderungen nicht versehentlich
|
||||
mitcommitten.
|
||||
131
AGENTS.md
Normal file
|
|
@ -0,0 +1,131 @@
|
|||
# Projekt-Hinweise: RPG Westreiche
|
||||
|
||||
## FTP-Zugang (Deployment)
|
||||
|
||||
Zugangsdaten stehen in `credentials.txt` im Projektwurzelverzeichnis (per
|
||||
`.gitignore` ausgeschlossen, niemals committen).
|
||||
|
||||
- **Methode:** explizites FTPS – also klassisches `ftp://` auf Port 21 mit
|
||||
erzwungener TLS-Aushandlung (`--ssl-reqd` / `AUTH TLS`).
|
||||
- **Nicht verwenden:** unverschlüsseltes FTP (Server antwortet
|
||||
`550 SSL/TLS required on the control channel`) und implizites FTPS
|
||||
(`ftps://` auf Port 990 – läuft in einen Timeout).
|
||||
- **Host:** `FTP_URL` aus `credentials.txt` (z. B. `www19.your-server.de`),
|
||||
Login `FTP_USER`, Passwort `FTP_PASSWORD`.
|
||||
|
||||
### Upload-Befehl
|
||||
|
||||
```bash
|
||||
set -a; . ./credentials.txt; set +a
|
||||
|
||||
# Verzeichnis listen
|
||||
curl -s -S --ssl-reqd --user "$FTP_USER:$FTP_PASSWORD" \
|
||||
"ftp://$FTP_URL/" --list-only
|
||||
|
||||
# Einzelne Datei hochladen
|
||||
curl -s -S --ssl-reqd --user "$FTP_USER:$FTP_PASSWORD" \
|
||||
-T lokal/datei.html "ftp://$FTP_URL/public_html/datei.html"
|
||||
|
||||
# Verzeichnis rekursiv hochladen
|
||||
curl -s -S --ssl-reqd --user "$FTP_USER:$FTP_PASSWORD" \
|
||||
-T ./lokal/ "ftp://$FTP_URL/public_html/"
|
||||
```
|
||||
|
||||
Beim rekursiven Upload keine abschließende Slash-Verwechslung: `-T ./dir/`
|
||||
lädt den Inhalt von `dir/` in das Zielverzeichnis.
|
||||
|
||||
### Server-Struktur (Wurzelverzeichnis)
|
||||
|
||||
`public_html`, `westreiche`, `www_logs`, `tippspiel_backup`, `vmail`,
|
||||
`.phpversion`, `.tmp`.
|
||||
|
||||
## Website (zauberturm.de)
|
||||
|
||||
Statischer Auftritt, aus dem Vault generiert:
|
||||
|
||||
```bash
|
||||
python3 tools/build_site.py # baut web/ (Startseite, Galerie, Protokolle, Regel-Changelog)
|
||||
./tools/deploy_web.sh # Upload nach public_html/ per FTPS
|
||||
./tools/deploy_web.sh --dry-run # nur zeigen, was hochgeht
|
||||
```
|
||||
|
||||
- `web/index.php` – Startseite mit beiden Projekten (aktuell nur Westreiche + Regel-Changelog)
|
||||
- `web/weltenauge.php` – Bildergalerie, liest serverseitig `public_html/weltenauge/`.
|
||||
**Ruht seit 20.11.2026:** Schalter `SHOW_WELTENAUGE = False` in
|
||||
`tools/build_site.py` → Seite wird nicht gebaut, Nav-Punkt und Startseiten-Karte
|
||||
entfallen, Footer sagt nur „Westreiche“. Zum Wiederbeleben: Schalter auf `True`,
|
||||
bauen, deployen (das Deploy-Skript lädt die Seite dann automatisch mit).
|
||||
Der Bilderordner `public_html/weltenauge/` bleibt auf dem Server unberührt,
|
||||
`public_html/weltenauge.php` wurde gelöscht (FTP `DELE`). Zusätzlich liegt dort
|
||||
eine `.htaccess` mit `Require all denied` – Bilder sind auch per Direkt-URL
|
||||
**403** (vorher 200, also direkt verlinkbar). Zum Reaktivieren: `.htaccess`
|
||||
löschen, dann `SHOW_WELTENAUGE = True` setzen.
|
||||
- `web/westreiche/index.html` + `protokolle/*.html` – **nur die Protokolle**;
|
||||
`(Notizen)`-Dateien sind per `PUBLISH_KINDS` in `tools/build_site.py`
|
||||
ausgeschlossen (Spieltisch-Notizen bleiben im Vault).
|
||||
`PUBLISH_KINDS` steht auf `{"Geschehnisse"}`: Notizen und ältere
|
||||
Kurzprotokolle (`Protokoll Sitzung #N.md`) werden nicht veröffentlicht, weil
|
||||
sie redundant zu den Geschehnissen sind.
|
||||
- `web/westreiche/regeln.html` – **datiertes Changelog aller Hausregel-Änderungen**
|
||||
(Nav-Punkt „Regeln"). Quelle ist
|
||||
`RPG/5-Regeln/Hausregeln/Regeländerungen (Changelog).md`;
|
||||
`build_regeln()` in `tools/build_site.py` rendert sie, neueste Einträge oben.
|
||||
**Achtung:** Diese Datei ist eine **Spieler-Übersicht** – wenige, offizielle Einträge. Neue Einträge **nur mit ausdrücklicher Zustimmung des SL**; Arbeitsstände und Details gehören in die jeweilige Hausregeldatei, nicht hierher (Format im Kopf der Datei:
|
||||
Datum + Betrifft/Vorher/Jetzt/Warum/Am Tisch, Zeilen nicht umbrechen), damit
|
||||
Website und Vault nicht auseinanderlaufen.
|
||||
- `web/assets/style.css`, `web/assets/logo_zauberturm.png` (per fal.ai erzeugt)
|
||||
|
||||
Hochgeladen wird ausschließlich `web/`; Bilder im Galerieordner werden nie
|
||||
überschrieben. Alte `index.php` liegt als `index.php.alt` auf dem Server,
|
||||
der frühere Bildordner `image_log/` wurde nach `weltenauge/` umbenannt.
|
||||
FTP-Rename braucht absolute Pfade (`RNFR /public_html/...`).
|
||||
|
||||
## Wissenslandkarte
|
||||
|
||||
Schnellzugriff auf Spieler, Welt, Regeln und Konventionen:
|
||||
**`.pi/wissensindex.md`** – bei Fragen zu Figuren, Fraktionen, Hausregeln oder
|
||||
Dateistruktur zuerst dort nachsehen, statt den Vault zu durchsuchen.
|
||||
Wichtige Einstiege: `RPG/2-Spieler/` (je ein Ordner pro Spieler),
|
||||
`RPG/1-Sessions/Geschehnisse-Index.md`, `RPG/3-Welt/Weltstatus & Offene Enden.md`,
|
||||
`RPG/5-Regeln/Hausregeln/` (vorrangig vor SRD), `RPG/offene_faeden.md`.
|
||||
|
||||
## Tooling
|
||||
|
||||
- `tools/md2odt.sh`, `tools/make_reference_odt.py`, `tools/autowidth.lua`:
|
||||
Markdown → ODT-Konvertierung für Druckmaterial.
|
||||
- `tools/build_zauber_almanach.py`: erzeugt das PDF-Handout
|
||||
`RPG/7-Prep/prep_2026-11-20/Arkane Zaubersprueche - Summarium von Rambastulon.pdf`
|
||||
(Titelblatt, Vorwort, Gildenregeln, Zauber nach Grad, Kurzreferenz) direkt aus
|
||||
`RPG/5-Regeln/Zauber/Arkan/Grad */*.md`. Braucht `reportlab`
|
||||
(`python3 -m venv .venv && .venv/bin/pip install reportlab`, ohne pandoc).
|
||||
- `tools/build_liturgie_summarium.py`: klerikales Gegenstück – erzeugt
|
||||
`RPG/7-Prep/prep_2026-11-20/Goettliche Liturgien - Summarium fuer Terian.pdf` (Titelblatt,
|
||||
Vorwort von Vater Damian, Hausregeln aus `Liturgien und Glaubensgemeinschaften`,
|
||||
Liturgien nach Grad mit „Gelehrt von“, Kurzreferenz, Anhang Naturzirkel).
|
||||
- `tools/build_sl_tabellen.py`: SL-Handout zum Ausdrucken
|
||||
(`RPG/7-Prep/prep_2026-11-20/SL-Tabellen - Ausbrennen und Entrueckung.pdf`, A4; mit `--a5` als Heftchen nach
|
||||
`RPG/7-Prep/prep_2026-11-20/pdf_export/SL-Tabellen - Ausbrennen und Entrueckung (A5).pdf`) – liest die Burnout-Tabelle
|
||||
aus `RPG/3-Welt/Geheimnisse/Es gibt kein unbegrenztes Zaubern.md` und die Entrückungstabelle
|
||||
aus `Liturgien und Glaubensgemeinschaften` §9. **SL-Wissen, nie veröffentlichen.**
|
||||
- `tools/build_sl_schirm.py`: baut den verdeckten **SL-Schirm** (A5 quer, 8 Karten:
|
||||
Fraktionen, offene Fäden als „Uhren“, NSC-Register, Gruppenstatus, Hausregeln,
|
||||
Improvisationshilfen, Kalender, Reveal-Warteschlange) nach
|
||||
`RPG/7-Prep/<prep>/SL Schirm/SL-Schirm (A5 quer).pdf`. **Inhalt und Layout sind
|
||||
getrennt:** die Karten stehen als Markdown in `SL Schirm/SL-Schirm Inhalt.md`
|
||||
(`## Karte …` = eine Seite, `farbe:` = Farbcode, Pipe-Tabellen + Stichpunkte;
|
||||
Frontmatter `titel`/`untertitel`/`ingame` – `ingame` steht im Kopf jeder Seite).
|
||||
Für eine neue Prep-Session die Markdown-Datei kopieren, aktualisieren und
|
||||
`build_sl_schirm.py -s … -o …` neu bauen – das Skript muss dafür nicht angepasst
|
||||
werden. Ebenfalls SL-Wissen.
|
||||
- `tools/pdf_sync.py`: hält die **ausgelagerten Fremd-PDFs** (Regelwerke, Abenteuer,
|
||||
Magazine, ~1 GB) synchron. Sie liegen nicht in Git, sondern auf dem Server unter
|
||||
`pdf_archiv/blobs/<sha256>.pdf` – **außerhalb von `public_html`**, also für Crawler
|
||||
unerreichbar. `tools/pdf_manifest.json` (Pfad → SHA-256 + Größe) ist versioniert und
|
||||
lädt einen frischen Checkout nach: `--pull`; hochladen: `--push`; prüfen: `--check`;
|
||||
Manifest neu schreiben: `--scan`. Auf dem Server liegt zusätzlich `pdf_archiv/index.json`
|
||||
(dieselbe Tabelle), damit das Archiv auch ohne Repo lesbar bleibt. Eigene Handouts
|
||||
(Summarien, SL-Tabellen, SL-Schirm) bleiben bewusst in Git.
|
||||
- `tools/add_guild_notes.py` / `tools/add_gemeinschaft_notes.py`: schreiben die
|
||||
Zugangs-Abschnitte (`## Gilde` bzw. `## Gemeinschaft`) in die Zauberdateien –
|
||||
inkl. Sonderlehrstätten (`Tote erwecken` & Co., Hausregel §3.5). Nach Änderung
|
||||
der MAPPING-Tabellen `--force` laufen lassen und das PDF neu bauen.
|
||||
BIN
Druckmaterial/AV Feats of Exploration.ods
Normal file
BIN
Druckmaterial/Ausrüstung.ods
Normal file
BIN
Druckmaterial/Charakterbogen.ods
Normal file
BIN
Druckmaterial/Death and Dismemberment.docx
Normal file
BIN
Druckmaterial/Domain_Aktivitäten.xlsx
Normal file
BIN
Druckmaterial/Karten/TestInsel_Feudal.wonderdraft_map
Normal file
BIN
Druckmaterial/Karten/TestInsel_Imagination.wonderdraft_map
Normal file
BIN
Druckmaterial/Karten/TestSee_Eastward.wonderdraft_map
Normal file
BIN
Druckmaterial/Klassen.ods
Normal file
BIN
Druckmaterial/Klassenübersicht.ods
Normal file
BIN
Druckmaterial/Methaven Events.ods
Normal file
BIN
Druckmaterial/Monstrous Compendium/pages/Ankhegh__Skeleton.odt
Normal file
BIN
Druckmaterial/Monstrous Compendium/pages/Bugbear.odt
Normal file
BIN
Druckmaterial/Monstrous Compendium/pages/Diplacer Beast.png
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
Druckmaterial/Monstrous Compendium/pages/Displacer Beast1.png
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
Druckmaterial/Monstrous Compendium/pages/Displacer_Beast.odt
Normal file
BIN
Druckmaterial/Monstrous Compendium/pages/Ghoul.odt
Normal file
BIN
Druckmaterial/Monstrous Compendium/pages/Ghoul1.png
Normal file
|
After Width: | Height: | Size: 583 KiB |
BIN
Druckmaterial/Monstrous Compendium/pages/Gnoll.odt
Normal file
BIN
Druckmaterial/Monstrous Compendium/pages/Goblin__Orc.odt
Normal file
BIN
Druckmaterial/Monstrous Compendium/pages/Manticore.odt
Normal file
BIN
Druckmaterial/Monstrous Compendium/pages/NW_displacer_beast.webp
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
Druckmaterial/Monstrous Compendium/pages/Ogre.odt
Normal file
BIN
Druckmaterial/Monstrous Compendium/pages/Sahuagin.odt
Normal file
BIN
Druckmaterial/Monstrous Compendium/pages/Sahuagin.png
Normal file
|
After Width: | Height: | Size: 444 KiB |
BIN
Druckmaterial/Monstrous Compendium/pages/Sahuagin_statistics.png
Normal file
|
After Width: | Height: | Size: 399 KiB |
BIN
Druckmaterial/Resurrection Consequence Tables.ods
Normal file
BIN
Druckmaterial/Spielkarten/Heiltränke_Silberschmiede.odg
Normal file
BIN
Druckmaterial/Spielkarten/Organisationen/Organisationen-A.odg
Normal file
BIN
Druckmaterial/Spielkarten/Organisationen/Organisationen-B.odg
Normal file
BIN
Druckmaterial/Spielkarten/Vorlage.odg
Normal file
BIN
Druckmaterial/Spielkarten/spieler/Harissa.jpeg
Normal file
|
After Width: | Height: | Size: 81 KiB |
BIN
Druckmaterial/Spielkarten/spieler/Spieler.odg
Normal file
BIN
Druckmaterial/Spielkarten/spieler/Terian.png
Normal file
|
After Width: | Height: | Size: 317 KiB |
BIN
Druckmaterial/Spielkarten/spieler/portrait_gregor.jpg
Normal file
|
After Width: | Height: | Size: 394 KiB |
BIN
Druckmaterial/Spielkarten/spieler/rain.jpeg
Normal file
|
After Width: | Height: | Size: 270 KiB |
BIN
Druckmaterial/Spielkarten/spieler/tarazul.png
Normal file
|
After Width: | Height: | Size: 244 KiB |
BIN
Druckmaterial/Testdokument_für_Layout.odt
Normal file
BIN
Druckmaterial/Westreich D&D Hausregeln V1.1.odt
Normal file
530
Druckmaterial/Westreiche_15.svg.2025_04_06_09_52_33.0.svg
Normal file
|
After Width: | Height: | Size: 833 KiB |
BIN
Druckmaterial/a5_drucktest.odt
Normal file
BIN
Druckmaterial/autogen_Präsentation/Carousing.odt
Normal file
BIN
Druckmaterial/autogen_inbox/Carousing (Zechen und Feiern).odt
Normal file
14
RPG/.obsidian/app.json
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"promptDelete": false,
|
||||
"spellcheck": false,
|
||||
"alwaysUpdateLinks": true,
|
||||
"readableLineLength": false,
|
||||
"pdfExportSettings": {
|
||||
"includeName": true,
|
||||
"pageSize": "A5",
|
||||
"landscape": false,
|
||||
"margin": "1",
|
||||
"downscalePercent": 100
|
||||
},
|
||||
"newFileLocation": "current"
|
||||
}
|
||||
9
RPG/.obsidian/appearance.json
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"cssTheme": "Scriptorium",
|
||||
"nativeMenus": false,
|
||||
"theme": "obsidian",
|
||||
"enabledCssSnippets": [
|
||||
"quest-journal-fontsize"
|
||||
],
|
||||
"showRibbon": true
|
||||
}
|
||||
12
RPG/.obsidian/community-plugins.json
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
"oz-clear-unused-images",
|
||||
"editing-toolbar",
|
||||
"obsidian-excalidraw-plugin",
|
||||
"fantasy-content-generator",
|
||||
"fantasy-name",
|
||||
"obsidian-leaflet-plugin",
|
||||
"manual-sorting",
|
||||
"mousewheel-image-zoom",
|
||||
"obsidian-style-settings",
|
||||
"obsidian-minimal-settings"
|
||||
]
|
||||
33
RPG/.obsidian/core-plugins.json
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"file-explorer": true,
|
||||
"global-search": true,
|
||||
"switcher": true,
|
||||
"graph": true,
|
||||
"backlink": true,
|
||||
"canvas": false,
|
||||
"outgoing-link": true,
|
||||
"tag-pane": true,
|
||||
"properties": false,
|
||||
"page-preview": true,
|
||||
"daily-notes": true,
|
||||
"templates": true,
|
||||
"note-composer": true,
|
||||
"command-palette": true,
|
||||
"slash-command": false,
|
||||
"editor-status": true,
|
||||
"bookmarks": true,
|
||||
"markdown-importer": false,
|
||||
"zk-prefixer": false,
|
||||
"random-note": false,
|
||||
"outline": true,
|
||||
"word-count": true,
|
||||
"slides": false,
|
||||
"audio-recorder": false,
|
||||
"workspaces": false,
|
||||
"file-recovery": true,
|
||||
"publish": false,
|
||||
"sync": true,
|
||||
"webviewer": false,
|
||||
"footnotes": false,
|
||||
"bases": true
|
||||
}
|
||||
22
RPG/.obsidian/graph.json
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"collapse-filter": true,
|
||||
"search": "",
|
||||
"showTags": false,
|
||||
"showAttachments": false,
|
||||
"hideUnresolved": false,
|
||||
"showOrphans": true,
|
||||
"collapse-color-groups": true,
|
||||
"colorGroups": [],
|
||||
"collapse-display": true,
|
||||
"showArrow": false,
|
||||
"textFadeMultiplier": 0,
|
||||
"nodeSizeMultiplier": 1,
|
||||
"lineSizeMultiplier": 1,
|
||||
"collapse-forces": true,
|
||||
"centerStrength": 0.518713248970312,
|
||||
"repelStrength": 10,
|
||||
"linkStrength": 1,
|
||||
"linkDistance": 250,
|
||||
"scale": 1,
|
||||
"close": true
|
||||
}
|
||||
22
RPG/.obsidian/hotkeys.json
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"fantasy-name:fantasy-name-insert-human-male": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt",
|
||||
"Mod",
|
||||
"Shift"
|
||||
],
|
||||
"key": "M"
|
||||
}
|
||||
],
|
||||
"fantasy-name:fantasy-name-insert-human-female": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt",
|
||||
"Mod",
|
||||
"Shift"
|
||||
],
|
||||
"key": "F"
|
||||
}
|
||||
]
|
||||
}
|
||||
456
RPG/.obsidian/plugins/editing-toolbar/data.json
vendored
Normal file
|
|
@ -0,0 +1,456 @@
|
|||
{
|
||||
"lastVersion": "3.2.7",
|
||||
"aestheticStyle": "default",
|
||||
"positionStyle": "top",
|
||||
"menuCommands": [
|
||||
{
|
||||
"id": "editing-toolbar:editor-undo",
|
||||
"name": "Undo Edit",
|
||||
"icon": "undo-glyph"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:editor-redo",
|
||||
"name": "Redo Edit",
|
||||
"icon": "redo-glyph"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:toggle-format-brush",
|
||||
"name": "Format Brush",
|
||||
"icon": "paintbrush"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:format-eraser",
|
||||
"name": "Clear Text Formatting",
|
||||
"icon": "eraser"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:header2-text",
|
||||
"name": "Header 2",
|
||||
"icon": "header-2"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:header3-text",
|
||||
"name": "Header 3",
|
||||
"icon": "header-3"
|
||||
},
|
||||
{
|
||||
"id": "SubmenuCommands-header",
|
||||
"name": "submenu",
|
||||
"icon": "header-n",
|
||||
"SubmenuCommands": [
|
||||
{
|
||||
"id": "editing-toolbar:header1-text",
|
||||
"name": "Header 1",
|
||||
"icon": "header-1"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:header4-text",
|
||||
"name": "Header 4",
|
||||
"icon": "header-4"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:header5-text",
|
||||
"name": "Header 5",
|
||||
"icon": "header-5"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:header6-text",
|
||||
"name": "Header 6",
|
||||
"icon": "header-6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:toggle-bold",
|
||||
"name": "Bold",
|
||||
"icon": "bold-glyph"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:toggle-italics",
|
||||
"name": "Italic",
|
||||
"icon": "italic-glyph"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:toggle-strikethrough",
|
||||
"name": "Strikethrough",
|
||||
"icon": "strikethrough-glyph"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:underline",
|
||||
"name": "Underline",
|
||||
"icon": "underline-glyph"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:toggle-highlight",
|
||||
"name": "Highlight",
|
||||
"icon": "highlight-glyph"
|
||||
},
|
||||
{
|
||||
"id": "SubmenuCommands-text-tools",
|
||||
"name": "Text Tools",
|
||||
"icon": "box",
|
||||
"menuType": "dropdown",
|
||||
"SubmenuCommands": [
|
||||
{
|
||||
"id": "editing-toolbar:get-plain-text",
|
||||
"name": "Get Plain Text",
|
||||
"icon": "lucide-file-text"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:smart-symbols",
|
||||
"name": "Full Half Converter",
|
||||
"icon": "lucide-at-sign"
|
||||
},
|
||||
{
|
||||
"id": "editingToolbar-Divider-Line",
|
||||
"name": "Line Operations",
|
||||
"icon": "vertical-split"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:insert-blank-lines",
|
||||
"name": "Insert Blank Lines",
|
||||
"icon": "lucide-space"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:remove-blank-lines",
|
||||
"name": "Remove Blank Lines",
|
||||
"icon": "lucide-minimize-2"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:split-lines",
|
||||
"name": "Split Lines",
|
||||
"icon": "lucide-split"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:merge-lines",
|
||||
"name": "Merge Lines",
|
||||
"icon": "lucide-merge"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:dedupe-lines",
|
||||
"name": "Dedupe Lines",
|
||||
"icon": "lucide-filter"
|
||||
},
|
||||
{
|
||||
"id": "editingToolbar-Divider-Line",
|
||||
"name": "Text Processing",
|
||||
"icon": "vertical-split"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:add-wrap",
|
||||
"name": "Add Prefix/Suffix",
|
||||
"icon": "lucide-wrap-text"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:number-lines",
|
||||
"name": "Number Lines (Custom)",
|
||||
"icon": "lucide-list-ordered"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:remove-whitespace-trim",
|
||||
"name": "Trim Line Ends",
|
||||
"icon": "lucide-scissors"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:remove-whitespace-compress",
|
||||
"name": "Shrink Extra Spaces",
|
||||
"icon": "lucide-minimize"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:remove-whitespace-all",
|
||||
"name": "Remove All Whitespace",
|
||||
"icon": "lucide-eraser"
|
||||
},
|
||||
{
|
||||
"id": "editingToolbar-Divider-Line",
|
||||
"name": "Advanced Tools",
|
||||
"icon": "vertical-split"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:list-to-table",
|
||||
"name": "List to Table",
|
||||
"icon": "lucide-table"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:table-to-list",
|
||||
"name": "Table to List",
|
||||
"icon": "lucide-list"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:extract-between",
|
||||
"name": "Extract Between Strings",
|
||||
"icon": "lucide-brackets"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "SubmenuCommands-lucdf3en5",
|
||||
"name": "submenu",
|
||||
"icon": "edit",
|
||||
"SubmenuCommands": [
|
||||
{
|
||||
"id": "editing-toolbar:editor-cut",
|
||||
"name": "Cut",
|
||||
"icon": "lucide-scissors"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:editor-copy",
|
||||
"name": "Copy",
|
||||
"icon": "lucide-copy"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:editor-paste",
|
||||
"name": "Paste",
|
||||
"icon": "lucide-clipboard-type"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:editor:swap-line-down",
|
||||
"name": "Swap Line Down",
|
||||
"icon": "lucide-corner-right-down"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:editor:swap-line-up",
|
||||
"name": "Swap Line Up",
|
||||
"icon": "lucide-corner-right-up"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:editor:attach-file",
|
||||
"name": "Attach File",
|
||||
"icon": "lucide-paperclip"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:editor:insert-table",
|
||||
"name": "Insert Table",
|
||||
"icon": "lucide-table"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:editor:cycle-list-checklist",
|
||||
"name": "Cycle List and Checklist",
|
||||
"icon": "check-circle"
|
||||
},
|
||||
{
|
||||
"id": "SubmenuCommands-luc8efull",
|
||||
"name": "submenu",
|
||||
"icon": "message-square",
|
||||
"SubmenuCommands": [
|
||||
{
|
||||
"id": "editing-toolbar:editor:toggle-blockquote",
|
||||
"name": "Blockquote",
|
||||
"icon": "lucide-text-quote"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:insert-callout",
|
||||
"name": "Callout",
|
||||
"icon": "lucide-quote"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "SubmenuCommands-mdcmder",
|
||||
"name": "submenu",
|
||||
"icon": "<svg width=\"18\" height=\"18\" focusable=\"false\" fill=\"currentColor\" viewBox=\"0 0 1024 1024\"><g transform=\"scale(1, -1) translate(0, -896) scale(0.9, 0.9) \"><path class=\"path\" d=\"M464 608 l0 -568 q0 -3 -2.5 -5.5 q-2.5 -2.5 -5.5 -2.5 l-80 0 q-3 0 -5.5 2.5 q-2.5 2.5 -2.5 5.5 l0 568 l-232 0 q-3 0 -5.5 2.5 q-2.5 2.5 -2.5 5.5 l0 80 q0 3 2.5 5.5 q2.5 2.5 5.5 2.5 l560 0 q3 0 5.5 -2.5 q2.5 -2.5 2.5 -5.5 l0 -80 q0 -3 -2.5 -5.5 q-2.5 -2.5 -5.5 -2.5 l-232 0 ZM864 696 q17 0 28.5 11.5 q11.5 11.5 11.5 28.5 q0 17 -11.5 28.5 q-11.5 11.5 -28.5 11.5 q-17 0 -28.5 -11.5 q-11.5 -11.5 -11.5 -28.5 q0 -17 11.5 -28.5 q11.5 -11.5 28.5 -11.5 ZM864 640 q-40 0 -68 28 q-28 28 -28 68 q0 40 28 68 q28 28 68 28 q40 0 68 -28 q28 -28 28 -68 q0 -40 -28 -68 q-28 -28 -68 -28 ZM576 322 l0 -63 q0 -3 2 -5 l89 -70 l-89 -70 q-2 -2 -2 -5 l0 -63 q0 -4 3.5 -5.5 q3.5 -1.5 6.5 0.5 l170 133 q4 3 4.5 8.5 q0.5 5.5 -2.5 9.5 l-2 2 l-170 133 q-3 2 -6.5 0.5 q-3.5 -1.5 -3.5 -5.5 ZM256 322 l0 -63 q0 -3 -2 -5 l-89 -70 l89 -70 q2 -2 2 -5 l0 -63 q0 -4 -3.5 -5.5 q-3.5 -1.5 -6.5 0.5 l-170 133 q-4 3 -4.5 8.5 q-0.5 5.5 2.5 9.5 l2 2 l170 133 q3 2 6.5 0.5 q3.5 -1.5 3.5 -5.5 Z\"></path></g></svg>",
|
||||
"SubmenuCommands": [
|
||||
{
|
||||
"id": "editing-toolbar:superscript",
|
||||
"name": "Superscript",
|
||||
"icon": "superscript-glyph"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:subscript",
|
||||
"name": "Subscript",
|
||||
"icon": "subscript-glyph"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:editor:toggle-code",
|
||||
"name": "Inline Code",
|
||||
"icon": "code-glyph"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:codeblock",
|
||||
"name": "Code Block",
|
||||
"icon": "codeblock-glyph"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:editor:insert-wikilink",
|
||||
"name": "Wikilink",
|
||||
"icon": "<svg width=\"15\" height=\"15\" focusable=\"false\" fill=\"currentColor\" viewBox=\"0 0 1024 1024\"><g transform=\"scale(1, -1) translate(0, -896) scale(0.9, 0.9) \"><path class=\"path\" d=\"M306 134 l91 0 q1 0 1 -8 l0 -80 q0 -8 -1 -8 l-91 0 q-1 0 -1 7 q0 -8 -5 -8 l-45 0 q-5 0 -5 8 l0 784 q0 8 5 8 l45 0 q5 0 5 -8 q0 8 1 8 l91 0 q1 0 1 -8 l0 -80 q0 -8 -1 -8 l-91 0 q-1 0 -1 8 l0 -623 q0 8 1 8 ZM139 134 l91 0 q1 0 1 -8 l0 -80 q0 -8 -1 -8 l-91 0 q-1 0 -1 7 q0 -8 -5 -8 l-45 0 q-5 0 -5 8 l0 784 q0 8 5 8 l45 0 q5 0 5 -8 q0 8 1 8 l91 0 q1 0 1 -8 l0 -80 q0 -8 -1 -8 l-91 0 q-1 0 -1 8 l0 -623 q0 8 1 8 ZM711 134 q1 0 1 -8 l0 623 q0 -8 -1 -8 l-91 0 q-1 0 -1 8 l0 80 q0 8 1 8 l91 0 q1 0 1 -8 q0 8 4 8 l46 0 q4 0 4 -8 l0 -784 q0 -8 -4 -8 l-46 0 q-4 0 -4 8 q0 -7 -1 -7 l-91 0 q-1 0 -1 8 l0 80 q0 8 1 8 l91 0 ZM878 134 q1 0 1 -8 l0 623 q0 -8 -1 -8 l-91 0 q-1 0 -1 8 l0 80 q0 8 1 8 l91 0 q1 0 1 -8 q0 8 5 8 l45 0 q4 0 4 -8 l0 -784 q0 -8 -4 -8 l-45 0 q-5 0 -5 8 q0 -7 -1 -7 l-91 0 q-1 0 -1 8 l0 80 q0 8 1 8 l91 0 Z\"></path></g></svg>"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:editor:insert-embed",
|
||||
"name": "Embed",
|
||||
"icon": "note-glyph"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:insert-link",
|
||||
"name": "Link",
|
||||
"icon": "link-glyph"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:hrline",
|
||||
"name": "Horizontal Divider",
|
||||
"icon": "<svg width=\"18\" height=\"18\" focusable=\"false\" fill=\"currentColor\" viewBox=\"0 0 1024 1024\"><g transform=\"scale(1, -1) translate(0, -896) scale(0.9, 0.9) \"><path class=\"path\" d=\"M912 424 l0 -80 q0 -3 -2.5 -5.5 q-2.5 -2.5 -5.5 -2.5 l-784 0 q-3 0 -5.5 2.5 q-2.5 2.5 -2.5 5.5 l0 80 q0 3 2.5 5.5 q2.5 2.5 5.5 2.5 l784 0 q3 0 5.5 -2.5 q2.5 -2.5 2.5 -5.5 Z\"></path></g></svg>"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:toggle-inline-math",
|
||||
"name": "Inline Math",
|
||||
"icon": "lucide-sigma"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:editor:insert-mathblock",
|
||||
"name": "MathBlock",
|
||||
"icon": "lucide-sigma-square"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "SubmenuCommands-list",
|
||||
"name": "submenu-list",
|
||||
"icon": "bullet-list-glyph",
|
||||
"SubmenuCommands": [
|
||||
{
|
||||
"id": "editing-toolbar:editor:toggle-checklist-status",
|
||||
"name": "Checklist",
|
||||
"icon": "checkbox-glyph"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:renumber-ordered-list",
|
||||
"name": "Renumber Ordered List",
|
||||
"icon": "list-restart"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:toggle-numbered-list",
|
||||
"name": "Ordered List",
|
||||
"icon": "<svg width=\"18\" height=\"18\" focusable=\"false\" fill=\"currentColor\" viewBox=\"0 0 1024 1024\"><g transform=\"scale(1, -1) translate(0, -896) scale(0.9, 0.9) \"><path class=\"path\" d=\"M860 424 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-457 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l457 0 ZM860 756 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-457 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l457 0 ZM860 92 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-457 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l457 0 ZM264 136 l-3 -3 l-51 -57 l56 0 q14 0 24.5 -10 q10.5 -10 11.5 -25 l0 -1 q0 -15 -10.5 -25.5 q-10.5 -10.5 -24.5 -10.5 l-137 0 q-15 0 -25 10 q-10 10 -11 24.5 q-1 14.5 9 25.5 l63 70 l49 54 q7 7 7 16.5 q0 9.5 -7.5 16.5 q-7.5 7 -18.5 7 q-11 0 -18.5 -6.5 q-7.5 -6.5 -8.5 -16.5 l0 0 q0 -15 -10.5 -25.5 q-10.5 -10.5 -25.5 -10.5 q-15 0 -25.5 10.5 q-10.5 10.5 -10.5 25.5 q0 26 13.5 47.5 q13.5 21.5 36 34.5 q22.5 13 49 13 q26.5 0 49.5 -13 q23 -13 36 -34.5 q13 -21.5 13 -47.5 q0 -20 -7.5 -37.5 q-7.5 -17.5 -21.5 -30.5 l-1 -1 ZM173 794 q11 11 25 10.5 q14 -0.5 24.5 -10.5 q10.5 -10 10.5 -25 l0 -293 q0 -15 -10 -25.5 q-10 -10.5 -25 -10.5 q-15 0 -25.5 10 q-10.5 10 -11.5 25 l0 211 q-10 -8 -23.5 -7 q-13.5 1 -22.5 11 l-1 0 q-10 11 -9.5 25.5 q0.5 14.5 10.5 24.5 l58 54 Z\"></path></g></svg>"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:toggle-bullet-list",
|
||||
"name": "Unordered List",
|
||||
"icon": "<svg width=\"18\" height=\"18\" focusable=\"false\" fill=\"currentColor\" viewBox=\"0 0 1024 1024\"><g transform=\"scale(1, -1) translate(0, -896) scale(0.9, 0.9) \"><path class=\"path\" d=\"M860 424 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-477 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l477 0 ZM860 756 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-477 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l477 0 ZM860 92 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-477 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l477 0 ZM176 716 l0 0 ZM112 716 q0 -27 18.5 -45.5 q18.5 -18.5 45.5 -18.5 q27 0 45.5 18.5 q18.5 18.5 18.5 45.5 q0 27 -18.5 45.5 q-18.5 18.5 -45.5 18.5 q-27 0 -45.5 -18.5 q-18.5 -18.5 -18.5 -45.5 ZM176 384 l0 0 ZM112 384 q0 -27 18.5 -45.5 q18.5 -18.5 45.5 -18.5 q27 0 45.5 18.5 q18.5 18.5 18.5 45.5 q0 27 -18.5 45.5 q-18.5 18.5 -45.5 18.5 q-27 0 -45.5 -18.5 q-18.5 -18.5 -18.5 -45.5 ZM176 52 l0 0 ZM112 52 q0 -27 18.5 -45.5 q18.5 -18.5 45.5 -18.5 q27 0 45.5 18.5 q18.5 18.5 18.5 45.5 q0 27 -18.5 45.5 q-18.5 18.5 -45.5 18.5 q-27 0 -45.5 -18.5 q-18.5 -18.5 -18.5 -45.5 Z\"></path></g></svg>"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:undent-list",
|
||||
"name": "Unindent List",
|
||||
"icon": "<svg width=\"18\" height=\"18\" focusable=\"false\" fill=\"currentColor\" viewBox=\"0 0 1024 1024\"><g transform=\"scale(1, -1) translate(0, -896) scale(0.9, 0.9) \"><path class=\"path\" d=\"M872 302 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-429 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l429 0 ZM872 542 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-429 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l429 0 ZM872 784 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-721 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l721 0 ZM872 62 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-721 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l721 0 ZM244 534 l-123 -122 q-8 -7 -8 -18 q0 -11 8 -18 l123 -122 q8 -7 19 -7 q11 0 18.5 7.5 q7.5 7.5 7.5 18.5 l0 242 q0 11 -7.5 18.5 q-7.5 7.5 -18.5 7.5 q-11 0 -19 -7 Z\"></path></g></svg>"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:indent-list",
|
||||
"name": "Indent list",
|
||||
"icon": "<svg width=\"18\" height=\"18\" focusable=\"false\" fill=\"currentColor\" viewBox=\"0 0 1024 1024\"><g transform=\"scale(1, -1) translate(0, -896) scale(0.9, 0.9) \"><path class=\"path\" d=\"M872 302 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-429 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l429 0 ZM872 542 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-429 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l429 0 ZM872 784 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-721 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l721 0 ZM872 62 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-721 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l721 0 ZM158 534 l124 -122 q7 -7 7 -18 q0 -11 -7 -18 l-124 -122 q-7 -7 -18 -7 q-11 0 -19 7.5 q-8 7.5 -8 18.5 l0 242 q0 11 8 18.5 q8 7.5 19 7.5 q11 0 18 -7 Z\"></path></g></svg>"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "SubmenuCommands-aligin",
|
||||
"name": "submenu-aligin",
|
||||
"icon": "<svg width=\"18\" height=\"18\" focusable=\"false\" fill=\"currentColor\" viewBox=\"0 0 1024 1024\"><g transform=\"scale(1, -1) translate(0, -896) scale(0.9, 0.9) \"><path class=\"path\" d=\"M724 304 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-421 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l421 0 ZM872 540 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-721 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l721 0 ZM724 776 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-421 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l421 0 ZM872 68 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-721 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l721 0 Z\"></path></g></svg>",
|
||||
"SubmenuCommands": [
|
||||
{
|
||||
"id": "editing-toolbar:justify",
|
||||
"name": "Justify Text",
|
||||
"icon": "<svg width=\"18\" height=\"18\" focusable=\"false\" fill=\"currentColor\" viewBox=\"0 0 1024 1024\"><g transform=\"scale(1, -1) translate(0, -896) scale(0.9, 0.9) \"><path class=\"path\" d=\"M112 736 l0 0 ZM120 736 l784 0 q8 0 8 -8 l0 -80 q0 -8 -8 -8 l-784 0 q-8 0 -8 8 l0 80 q0 8 8 8 ZM112 331 l0 0 ZM120 331 l784 0 q8 0 8 -8 l0 -80 q0 -8 -8 -8 l-784 0 q-8 0 -8 8 l0 80 q0 8 8 8 ZM112 128 l0 0 ZM120 128 l784 0 q8 0 8 -8 l0 -80 q0 -8 -8 -8 l-784 0 q-8 0 -8 8 l0 80 q0 8 8 8 ZM112 533 l0 0 ZM120 533 l784 0 q8 0 8 -8 l0 -80 q0 -8 -8 -8 l-784 0 q-8 0 -8 8 l0 80 q0 8 8 8 Z\"></path></g></svg>"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:left",
|
||||
"name": "Align Text Left",
|
||||
"icon": "<svg width=\"18\" height=\"18\" focusable=\"false\" fill=\"currentColor\" viewBox=\"0 0 1024 1024\"><g transform=\"scale(1, -1) translate(0, -896) scale(0.9, 0.9) \"><path class=\"path\" d=\"M572 304 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-421 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l421 0 ZM872 540 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-721 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l721 0 ZM572 776 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-421 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l421 0 ZM872 68 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-721 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l721 0 Z\"></path></g></svg>"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:center",
|
||||
"name": "Center Text",
|
||||
"icon": "<svg width=\"18\" height=\"18\" focusable=\"false\" fill=\"currentColor\" viewBox=\"0 0 1024 1024\"><g transform=\"scale(1, -1) translate(0, -896) scale(0.9, 0.9) \"><path class=\"path\" d=\"M724 304 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-421 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l421 0 ZM872 540 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-721 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l721 0 ZM724 776 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-421 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l421 0 ZM872 68 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-721 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l721 0 Z\"></path></g></svg>"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:right",
|
||||
"name": "Align Text Right",
|
||||
"icon": "<svg width=\"18\" height=\"18\" focusable=\"false\" fill=\"currentColor\" viewBox=\"0 0 1024 1024\"><g transform=\"scale(1, -1) translate(0, -896) scale(0.9, 0.9) \"><path class=\"path\" d=\"M872 304 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-421 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l421 0 ZM872 540 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-721 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l721 0 ZM872 776 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-421 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l421 0 ZM872 68 q17 0 28.5 -11.5 q11.5 -11.5 11.5 -28 q0 -16.5 -11.5 -28.5 q-11.5 -12 -27.5 -12 l-721 0 q-17 0 -28.5 11.5 q-11.5 11.5 -11.5 28 q0 16.5 11.5 28.5 q11.5 12 27.5 12 l721 0 Z\"></path></g></svg>"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:change-font-color",
|
||||
"name": "Change Font Color",
|
||||
"icon": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" focusable=\"false\" fill=\"currentColor\"><g fill-rule=\"evenodd\"><path id=\"change-font-color-icon\" d=\"M3 18h18v3H3z\" style=\"fill:#2DC26B\"></path><path d=\"M8.7 16h-.8a.5.5 0 01-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 01-.5.6h-.8a.5.5 0 01-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4zm2.6-7.6l-.6 2a.5.5 0 00.5.6h1.6a.5.5 0 00.5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4z\"></path></g></svg>"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:change-background-color",
|
||||
"name": "Change Background Color",
|
||||
"icon": "<svg width=\"18\" height=\"24\" viewBox=\"0 0 256 256\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><g stroke=\"none\" stroke-width=\"1\" fill=\"currentColor\" fill-rule=\"evenodd\"><g ><g fill=\"currentColor\"><g transform=\"translate(119.502295, 137.878331) rotate(-135.000000) translate(-119.502295, -137.878331) translate(48.002295, 31.757731)\" ><path d=\"M100.946943,60.8084699 L43.7469427,60.8084699 C37.2852111,60.8084699 32.0469427,66.0467383 32.0469427,72.5084699 L32.0469427,118.70847 C32.0469427,125.170201 37.2852111,130.40847 43.7469427,130.40847 L100.946943,130.40847 C107.408674,130.40847 112.646943,125.170201 112.646943,118.70847 L112.646943,72.5084699 C112.646943,66.0467383 107.408674,60.8084699 100.946943,60.8084699 Z M93.646,79.808 L93.646,111.408 L51.046,111.408 L51.046,79.808 L93.646,79.808 Z\" fill-rule=\"nonzero\"></path><path d=\"M87.9366521,16.90916 L87.9194966,68.2000001 C87.9183543,69.4147389 86.9334998,70.399264 85.7187607,70.4 L56.9423078,70.4 C55.7272813,70.4 54.7423078,69.4150264 54.7423078,68.2 L54.7423078,39.4621057 C54.7423078,37.2523513 55.5736632,35.1234748 57.0711706,33.4985176 L76.4832996,12.4342613 C78.9534987,9.75382857 83.1289108,9.5834005 85.8093436,12.0535996 C87.1658473,13.303709 87.9372691,15.0644715 87.9366521,16.90916 Z\" fill-rule=\"evenodd\"></path><path d=\"M131.3,111.241199 L11.7,111.241199 C5.23826843,111.241199 0,116.479467 0,122.941199 L0,200.541199 C0,207.002931 5.23826843,212.241199 11.7,212.241199 L131.3,212.241199 C137.761732,212.241199 143,207.002931 143,200.541199 L143,122.941199 C143,116.479467 137.761732,111.241199 131.3,111.241199 Z M124,130.241 L124,193.241 L19,193.241 L19,130.241 L124,130.241 Z\" fill-rule=\"nonzero\"></path></g></g><path d=\"M51,218 L205,218 C211.075132,218 216,222.924868 216,229 C216,235.075132 211.075132,240 205,240 L51,240 C44.9248678,240 40,235.075132 40,229 C40,222.924868 44.9248678,218 51,218 Z\" id=\"change-background-color-icon\" style=\"fill:#FA541C\"></path></g></g></svg>"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:fullscreen-focus",
|
||||
"name": "Fullscreen Focus Mode",
|
||||
"icon": "fullscreen"
|
||||
},
|
||||
{
|
||||
"id": "editing-toolbar:workplace-fullscreen-focus",
|
||||
"name": "Workplace Fullscreen",
|
||||
"icon": "exit-fullscreen"
|
||||
}
|
||||
],
|
||||
"followingCommands": [],
|
||||
"topCommands": [],
|
||||
"fixedCommands": [],
|
||||
"mobileCommands": [],
|
||||
"enableMultipleConfig": false,
|
||||
"enableTopToolbar": true,
|
||||
"enableFollowingToolbar": false,
|
||||
"enableFixedToolbar": false,
|
||||
"appendMethod": "workspace",
|
||||
"shouldShowMenuOnSelect": false,
|
||||
"cMenuVisibility": true,
|
||||
"cMenuBottomValue": 4.25,
|
||||
"cMenuNumRows": 12,
|
||||
"cMenuWidth": 610,
|
||||
"cMenuFontColor": "#2DC26B",
|
||||
"cMenuBackgroundColor": "#d3f8b6",
|
||||
"autohide": false,
|
||||
"Iscentered": false,
|
||||
"custom_bg1": "#FFB78B8C",
|
||||
"custom_bg2": "#CDF4698C",
|
||||
"custom_bg3": "#A0CCF68C",
|
||||
"custom_bg4": "#F0A7D88C",
|
||||
"custom_bg5": "#ADEFEF8C",
|
||||
"custom_fc1": "#D83931",
|
||||
"custom_fc2": "#DE7802",
|
||||
"custom_fc3": "#245BDB",
|
||||
"custom_fc4": "#6425D0",
|
||||
"custom_fc5": "#646A73",
|
||||
"isLoadOnMobile": false,
|
||||
"horizontalPosition": 0,
|
||||
"verticalPosition": 0,
|
||||
"formatBrushes": {},
|
||||
"customCommands": [],
|
||||
"viewTypeSettings": {},
|
||||
"appearanceByStyle": {
|
||||
"top": {
|
||||
"toolbarBackgroundColor": "rgba(var(--background-secondary-rgb), 0.7)",
|
||||
"toolbarIconColor": "var(--text-normal)",
|
||||
"toolbarIconSize": 18,
|
||||
"aestheticStyle": "default"
|
||||
},
|
||||
"following": {
|
||||
"toolbarBackgroundColor": "rgba(var(--background-secondary-rgb), 0.7)",
|
||||
"toolbarIconColor": "var(--text-normal)",
|
||||
"toolbarIconSize": 18,
|
||||
"aestheticStyle": "default"
|
||||
},
|
||||
"fixed": {
|
||||
"toolbarBackgroundColor": "rgba(var(--background-secondary-rgb), 0.7)",
|
||||
"toolbarIconColor": "var(--text-normal)",
|
||||
"toolbarIconSize": 18,
|
||||
"aestheticStyle": "default"
|
||||
},
|
||||
"mobile": {
|
||||
"toolbarBackgroundColor": "rgba(var(--background-secondary-rgb), 0.7)",
|
||||
"toolbarIconColor": "var(--text-normal)",
|
||||
"toolbarIconSize": 18,
|
||||
"aestheticStyle": "default"
|
||||
}
|
||||
},
|
||||
"toolbarBackgroundColor": "rgba(var(--background-secondary-rgb), 0.7)",
|
||||
"toolbarIconColor": "var(--text-normal)",
|
||||
"toolbarIconSize": 18,
|
||||
"useCurrentLineForRegex": false
|
||||
}
|
||||
12
RPG/.obsidian/plugins/editing-toolbar/main.js
vendored
Normal file
10
RPG/.obsidian/plugins/editing-toolbar/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "editing-toolbar",
|
||||
"name": "Editing Toolbar",
|
||||
"version": "3.2.7",
|
||||
"minAppVersion": "0.14.0",
|
||||
"description": "The Obsidian Editing Toolbar is modified from cmenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.",
|
||||
"author": "Cuman",
|
||||
"authorUrl": "https://github.com/cumany/obsidian-editing-toolbar",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
1506
RPG/.obsidian/plugins/editing-toolbar/styles.css
vendored
Normal file
19899
RPG/.obsidian/plugins/fantasy-content-generator/main.js
vendored
Normal file
9
RPG/.obsidian/plugins/fantasy-content-generator/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"id": "fantasy-content-generator",
|
||||
"name": "Fantasy Content Generator",
|
||||
"version": "1.2.4",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "A Fantasy Content Generator for Obsidian for All Your TTRPG / World Building Needs",
|
||||
"author": "Gregory Jagermeister ",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
36
RPG/.obsidian/plugins/fantasy-content-generator/styles.css
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
.theme-light .OFCGDetails {
|
||||
border: 1px solid #ccc;
|
||||
box-shadow: 0px 12px 0px 0px rgba(255, 255, 255, 0.37);
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.theme-light .OFCGDetails[open] summary {
|
||||
border-bottom: 1px solid #666;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.theme-dark .OFCGDetails {
|
||||
border: 1px solid #272727;
|
||||
box-shadow: 0px 12px 0px 0px rgba(0, 0, 0, 0.37);
|
||||
background-color: #313131;
|
||||
padding: 0.5em 0.5em 0.5em;
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
.OFCGSSummary {
|
||||
font-weight: bold;
|
||||
margin: -0.5em -0.5em 0.5em;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.OFCGDetails[open] {
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.theme-dark .OFCGDetails[open] summary {
|
||||
border-bottom: 1px solid #aaa;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.FCGInput>input[type="file"] {
|
||||
display: none;
|
||||
}
|
||||
128
RPG/.obsidian/plugins/fantasy-name/main.js
vendored
Normal file
|
|
@ -0,0 +1,128 @@
|
|||
/*
|
||||
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
||||
if you want to view the source, please visit the github repository of this plugin
|
||||
*/
|
||||
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __export = (target, all) => {
|
||||
for (var name in all)
|
||||
__defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
var __copyProps = (to, from, except, desc) => {
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))
|
||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||
|
||||
// index.ts
|
||||
var fantasy_name_exports = {};
|
||||
__export(fantasy_name_exports, {
|
||||
default: () => FantasyNameGenerator
|
||||
});
|
||||
module.exports = __toCommonJS(fantasy_name_exports);
|
||||
var import_obsidian = require("obsidian");
|
||||
var insertName = (editor, name) => {
|
||||
const cursor = editor.getCursor();
|
||||
editor.replaceRange(name, cursor);
|
||||
editor.setCursor(cursor.line, cursor.ch + name.length);
|
||||
};
|
||||
var API_URL = "https://fantasyname.lukewh.com?family=t";
|
||||
var editorCallback = async (editor, { gender, ancestry, family }) => {
|
||||
let url = API_URL;
|
||||
const params = [];
|
||||
if (gender) {
|
||||
params.push(`gender=${gender}`);
|
||||
}
|
||||
if (ancestry) {
|
||||
params.push(`ancestry=${ancestry}`);
|
||||
}
|
||||
if (params.length) {
|
||||
url = `${url}&${params.join("&")}`;
|
||||
}
|
||||
const resp = await (0, import_obsidian.requestUrl)(url);
|
||||
const name = resp.text;
|
||||
new import_obsidian.Notice(`Name: ${name}`);
|
||||
insertName(editor, name);
|
||||
};
|
||||
var FantasyNameGenerator = class extends import_obsidian.Plugin {
|
||||
async onload() {
|
||||
console.log("loading fantasy-name plugin");
|
||||
const commands = [
|
||||
{
|
||||
id: "fantasy-name-insert-human",
|
||||
name: "Insert fantasy name: Human",
|
||||
editorCallback: (editor) => editorCallback(editor, {})
|
||||
},
|
||||
{
|
||||
id: "fantasy-name-insert-human-female",
|
||||
name: "Insert fantasy name: Human - Female",
|
||||
editorCallback: (editor) => editorCallback(editor, { gender: "f" /* FEMALE */ })
|
||||
},
|
||||
{
|
||||
id: "fantasy-name-insert-human-male",
|
||||
name: "Insert fantasy name: Human - Male",
|
||||
editorCallback: (editor) => editorCallback(editor, { gender: "m" /* MALE */ })
|
||||
},
|
||||
{
|
||||
id: "fantasy-name-insert-elf",
|
||||
name: "Insert fantasy name: Elf",
|
||||
editorCallback: (editor) => editorCallback(editor, { ancestry: "e" /* ELF */ })
|
||||
},
|
||||
{
|
||||
id: "fantasy-name-insert-elf-female",
|
||||
name: "Insert fantasy name: Elf - Female",
|
||||
editorCallback: (editor) => editorCallback(editor, { ancestry: "e" /* ELF */, gender: "f" /* FEMALE */ })
|
||||
},
|
||||
{
|
||||
id: "fantasy-name-insert-elf-male",
|
||||
name: "Insert fantasy name: Elf - Male",
|
||||
editorCallback: (editor) => editorCallback(editor, { ancestry: "e" /* ELF */, gender: "m" /* MALE */ })
|
||||
},
|
||||
{
|
||||
id: "fantasy-name-insert-dwarf",
|
||||
name: "Insert fantasy name: Dwarf",
|
||||
editorCallback: (editor) => editorCallback(editor, { ancestry: "d" /* DWARF */ })
|
||||
},
|
||||
{
|
||||
id: "fantasy-name-insert-dwarf-female",
|
||||
name: "Insert fantasy name: Dwarf - Female",
|
||||
editorCallback: (editor) => editorCallback(editor, { ancestry: "d" /* DWARF */, gender: "f" /* FEMALE */ })
|
||||
},
|
||||
{
|
||||
id: "fantasy-name-insert-dwarf-male",
|
||||
name: "Insert fantasy name: Dwarf - Male",
|
||||
editorCallback: (editor) => editorCallback(editor, { ancestry: "d" /* DWARF */, gender: "m" /* MALE */ })
|
||||
},
|
||||
{
|
||||
id: "fantasy-name-insert-orc",
|
||||
name: "Insert fantasy name: Orc",
|
||||
editorCallback: (editor) => editorCallback(editor, { ancestry: "o" /* ORC */ })
|
||||
},
|
||||
{
|
||||
id: "fantasy-name-insert-orc-female",
|
||||
name: "Insert fantasy name: Orc - Female",
|
||||
editorCallback: (editor) => editorCallback(editor, { ancestry: "o" /* ORC */, gender: "f" /* FEMALE */ })
|
||||
},
|
||||
{
|
||||
id: "fantasy-name-insert-orc-male",
|
||||
name: "Insert fantasy name: Orc - Male",
|
||||
editorCallback: (editor) => editorCallback(editor, { ancestry: "o" /* ORC */, gender: "m" /* MALE */ })
|
||||
}
|
||||
];
|
||||
for (const command of commands) {
|
||||
this.addCommand(command);
|
||||
}
|
||||
}
|
||||
onunload() {
|
||||
console.log("unloading fantasy-name plugin");
|
||||
}
|
||||
};
|
||||
|
||||
/* nosourcemap */
|
||||
11
RPG/.obsidian/plugins/fantasy-name/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"id": "fantasy-name",
|
||||
"name": "Fantasy name generator",
|
||||
"version": "0.1.0",
|
||||
"minAppVersion": "1.3.5",
|
||||
"description": "Insert a random fantasy name.",
|
||||
"author": "Lukewh",
|
||||
"authorUrl": "https://lukewh.com",
|
||||
"fundingUrl": "https://ko-fi.com/lukewh",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
1061
RPG/.obsidian/plugins/manual-sorting/data.json
vendored
Normal file
2
RPG/.obsidian/plugins/manual-sorting/main.js
vendored
Normal file
10
RPG/.obsidian/plugins/manual-sorting/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "manual-sorting",
|
||||
"name": "Manual Sorting",
|
||||
"version": "3.2.4",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Drag'n'Drop sorting within file explorer.",
|
||||
"author": "kh4f",
|
||||
"authorUrl": "https://github.com/kh4f",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
80
RPG/.obsidian/plugins/manual-sorting/styles.css
vendored
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
[data-type="file-explorer"] {
|
||||
&:has([data-drag-active]) {
|
||||
.tree-item { position: relative;}
|
||||
|
||||
.tree-item.temp-child { height: 15px; }
|
||||
|
||||
.tree-item:not(.nav-folder:has(> [data-is-being-dragged]) .tree-item,
|
||||
.nav-folder:has(> .is-selected) .tree-item
|
||||
) {
|
||||
&:not(.temp-child, :has(> .is-selected):has(+ .tree-item > .is-selected))::after,
|
||||
&:where(:nth-child(1 of .tree-item))::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
display: block;
|
||||
translate: -52% -2px;
|
||||
height: 2px;
|
||||
width: 80%;
|
||||
left: 50%;
|
||||
background-image: linear-gradient(90deg, #8888881a 50%, transparent 50%);
|
||||
background-size: 8px 2px;
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
.tree-item[data-drop-position="before"]::before,
|
||||
.tree-item[data-drop-position="after"]::after {
|
||||
background-image: linear-gradient(90deg, var(--color-accent) 50%, transparent 50%) !important;
|
||||
mask-image: linear-gradient(90deg, transparent 0%, black 7%, black 93%, transparent 100%);
|
||||
animation: dash-flow 0.5s linear infinite;
|
||||
}
|
||||
|
||||
.nav-folder.is-drop-target {
|
||||
background: hsla(var(--interactive-accent-hsl), 0.05) !important;
|
||||
border-radius: var(--radius-s);
|
||||
|
||||
> .nav-folder-title {
|
||||
color: var(--nav-item-color-highlighted) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-folder.is-being-dragged-over {
|
||||
background-color: transparent;
|
||||
> .nav-folder-title {
|
||||
color: var(--nav-item-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (pointer: coarse) {
|
||||
.tree-item-self:not(.temp)::after {
|
||||
content: "⋮⋮";
|
||||
position: absolute;
|
||||
rotate: 90deg;
|
||||
right: 12px;
|
||||
align-self: center;
|
||||
font-size: calc(var(--nav-item-size) + 2px);
|
||||
opacity: 0.4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes dash-flow {
|
||||
from { background-position: 0 0; }
|
||||
to { background-position: 8px 0; }
|
||||
}
|
||||
|
||||
.menu-item[data-section="custom"] {
|
||||
.menu-item-icon:first-child { display: flex; }
|
||||
|
||||
.dragging-enabled-checkbox {
|
||||
margin-bottom: -2px;
|
||||
input { margin: 0; }
|
||||
}
|
||||
|
||||
.svg-icon.lucide-pin {
|
||||
transform: rotate(45deg);
|
||||
margin-bottom: -2px;
|
||||
}
|
||||
}
|
||||
616
RPG/.obsidian/plugins/mousewheel-image-zoom/main.js
vendored
Normal file
|
|
@ -0,0 +1,616 @@
|
|||
/*
|
||||
THIS IS A GENERATED/BUNDLED FILE BY ROLLUP
|
||||
if you want to view the source visit the plugins github repository
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var obsidian = require('obsidian');
|
||||
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */
|
||||
|
||||
function __awaiter(thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
||||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
||||
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* ReplaceTerm enables us to store the parameters for a replacement to add a new size parameter.
|
||||
*/
|
||||
class ReplaceTerm {
|
||||
constructor(replaceFrom, replaceWith) {
|
||||
this.replaceFrom = replaceFrom;
|
||||
this.replaceWith = replaceWith;
|
||||
}
|
||||
// Generate a string that can be used in a string.replace() call as the string to replace
|
||||
getReplaceFromString(oldSize) {
|
||||
return this.replaceFrom(oldSize);
|
||||
}
|
||||
// Generate a string that can be used in a string.replace() call as the replacement string
|
||||
getReplaceWithString(newSize) {
|
||||
return this.replaceWith(newSize);
|
||||
}
|
||||
}
|
||||
class Util {
|
||||
/**
|
||||
* For a given file content decide if a string is inside a table
|
||||
* @param searchString string
|
||||
* @param fileValue file content
|
||||
* @private
|
||||
*/
|
||||
static isInTable(searchString, fileValue) {
|
||||
return fileValue.search(new RegExp(`^\\|.+${escapeRegex(searchString)}.+\\|$`, "m")) !== -1;
|
||||
}
|
||||
/**
|
||||
* Get the image name from a given src uri of a local image
|
||||
* (URI like app://local/C:/.../image.png?1677337704730)
|
||||
* @param imageUri uri of the image
|
||||
* @private
|
||||
*/
|
||||
static getLocalImageNameFromUri(imageUri) {
|
||||
imageUri = decodeURI(imageUri);
|
||||
const imageNameMatch = imageUri.match(/([^\/?\\]+)(\?.*?|)$/);
|
||||
const imageName = imageNameMatch ? imageNameMatch[1] : "";
|
||||
// Handle linux not correctly decoding the %2F before the Filename to a \
|
||||
const hasLinuxDecodingIssue = imageName.startsWith("2F");
|
||||
return hasLinuxDecodingIssue ? imageName.slice(2) : imageName;
|
||||
}
|
||||
/**
|
||||
* Get the parameters needed to handle the zoom for a local image.
|
||||
* Source can be either a obsidian link like [[image.png]] or a markdown link like [image.png](image.png)
|
||||
* @param imageName Name of the image
|
||||
* @param fileText content of the current file
|
||||
* @returns parameters to handle the zoom
|
||||
*/
|
||||
static getLocalImageZoomParams(imageName, fileText) {
|
||||
imageName = this.determineImageName(imageName, fileText);
|
||||
// Get the folder name if the image is located in a folder
|
||||
const folderName = this.getFolderNameIfExist(imageName, fileText);
|
||||
imageName = `${folderName}${imageName}`;
|
||||
const isInTable = Util.isInTable(imageName, fileText);
|
||||
// Separator to use for the replacement
|
||||
const sizeSeparator = isInTable ? "\\|" : "|";
|
||||
// Separator to use for the regex: isInTable ? \\\| : \|
|
||||
const regexSeparator = isInTable ? "\\\\\\|" : "\\|";
|
||||
// check character before the imageName to check if markdown link or obsidian link
|
||||
const imageNamePosition = fileText.indexOf(imageName);
|
||||
const isObsidianLink = fileText.charAt(imageNamePosition - 1) === "[";
|
||||
if (isObsidianLink) {
|
||||
const imageAttributes = this.getImageAttributes(imageName, fileText);
|
||||
imageName = `${imageName}${imageAttributes}`;
|
||||
return Util.generateReplaceTermForObsidianSyntax(imageName, regexSeparator, sizeSeparator);
|
||||
}
|
||||
else {
|
||||
return Util.generateReplaceTermForMarkdownSyntax(imageName, regexSeparator, sizeSeparator, fileText);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* When using markdown link syntax the image name can be encoded. This function checks if the image name is encoded and if not encodes it.
|
||||
*
|
||||
* @param origImageName Image name
|
||||
* @param fileText File content
|
||||
* @returns image name with the correct encoding
|
||||
*/
|
||||
static determineImageName(origImageName, fileText) {
|
||||
const encodedImageName = encodeURI(origImageName);
|
||||
const spaceEncodedImageName = origImageName.replace(/ /g, "%20");
|
||||
// Try matching original, full URI encoded, and space encoded
|
||||
const imageNameVariants = [origImageName, encodedImageName, spaceEncodedImageName];
|
||||
for (const variant of imageNameVariants) {
|
||||
if (fileText.includes(variant)) {
|
||||
return variant;
|
||||
}
|
||||
}
|
||||
throw new Error("Image not found in file");
|
||||
}
|
||||
/**
|
||||
* Extracts the folder name from the given image name by looking for the first "[" or "(" character
|
||||
* that appears before the image name in the file text.
|
||||
* @param imageName The name of the image.
|
||||
* @param fileText The text of the file that contains the image.
|
||||
* @returns The name of the folder that contains the image, or an empty string if no folder is found.
|
||||
*/
|
||||
static getFolderNameIfExist(imageName, fileText) {
|
||||
const index = fileText.indexOf(imageName);
|
||||
if (index === -1) {
|
||||
throw new Error("Image not found in file");
|
||||
}
|
||||
const stringBeforeFileName = fileText.substring(0, index);
|
||||
const lastOpeningBracket = stringBeforeFileName.lastIndexOf("["); // Obsidian link
|
||||
const lastOpeningParenthesis = stringBeforeFileName.lastIndexOf("("); // Markdown link
|
||||
const lastOpeningBracketOrParenthesis = Math.max(lastOpeningBracket, lastOpeningParenthesis);
|
||||
const folderName = stringBeforeFileName.substring(lastOpeningBracketOrParenthesis + 1);
|
||||
return folderName;
|
||||
}
|
||||
/**
|
||||
* Extracts any image attributes like |ctr for ITS Theme that appear after the given image name in the file.
|
||||
* @param imageName - The name of the image to search for.
|
||||
* @param fileText - The content of the file to search in.
|
||||
* @returns A string containing any image attributes that appear after the image name.
|
||||
*/
|
||||
static getImageAttributes(imageName, fileText) {
|
||||
const index = fileText.indexOf(imageName);
|
||||
const stringAfterFileName = fileText.substring(index + imageName.length);
|
||||
const regExpMatchArray = stringAfterFileName.match(/([^\]]*?)\\?\|\d+]]|([^\]]*?)]]|/);
|
||||
if (regExpMatchArray) {
|
||||
if (!!regExpMatchArray[1]) {
|
||||
return regExpMatchArray[1];
|
||||
}
|
||||
else if (!!regExpMatchArray[2]) {
|
||||
return regExpMatchArray[2];
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
/**
|
||||
* Get the parameters needed to handle the zoom for images in markdown format.
|
||||
* Example: 
|
||||
* @param imageName Name of the image
|
||||
* @param fileText content of the current file
|
||||
* @returns parameters to handle the zoom
|
||||
* @private
|
||||
*
|
||||
*/
|
||||
static generateReplaceTermForMarkdownSyntax(imageName, regexSeparator, sizeSeparator, fileText) {
|
||||
const sizeMatchRegExp = new RegExp(`${regexSeparator}(\\d+)]${escapeRegex("(" + imageName + ")")}`);
|
||||
const replaceSizeExistFrom = (oldSize) => `${sizeSeparator}${oldSize}](${imageName})`;
|
||||
const replaceSizeExistWith = (newSize) => `${sizeSeparator}${newSize}](${imageName})`;
|
||||
const replaceSizeNotExistsFrom = (oldSize) => `](${imageName})`;
|
||||
const replaceSizeNotExistsWith = (newSize) => `${sizeSeparator}${newSize}](${imageName})`;
|
||||
const replaceSizeExist = new ReplaceTerm(replaceSizeExistFrom, replaceSizeExistWith);
|
||||
const replaceSizeNotExist = new ReplaceTerm(replaceSizeNotExistsFrom, replaceSizeNotExistsWith);
|
||||
return {
|
||||
sizeMatchRegExp: sizeMatchRegExp,
|
||||
replaceSizeExist: replaceSizeExist,
|
||||
replaceSizeNotExist: replaceSizeNotExist,
|
||||
};
|
||||
}
|
||||
/**
|
||||
* Get the parameters needed to handle the zoom for images in markdown format.
|
||||
* Example: ![[image.png]]
|
||||
* @param imageName Name of the image
|
||||
* @param fileText content of the current file
|
||||
* @returns parameters to handle the zoom
|
||||
* @private
|
||||
*
|
||||
*/
|
||||
static generateReplaceTermForObsidianSyntax(imageName, regexSeparator, sizeSeparator) {
|
||||
const sizeMatchRegExp = new RegExp(`${escapeRegex(imageName)}${regexSeparator}(\\d+)`);
|
||||
const replaceSizeExistFrom = (oldSize) => `${imageName}${sizeSeparator}${oldSize}`;
|
||||
const replaceSizeExistWith = (newSize) => `${imageName}${sizeSeparator}${newSize}`;
|
||||
const replaceSizeNotExistsFrom = (oldSize) => `${imageName}`;
|
||||
const replaceSizeNotExistsWith = (newSize) => `${imageName}${sizeSeparator}${newSize}`;
|
||||
const replaceSizeExist = new ReplaceTerm(replaceSizeExistFrom, replaceSizeExistWith);
|
||||
const replaceSizeNotExist = new ReplaceTerm(replaceSizeNotExistsFrom, replaceSizeNotExistsWith);
|
||||
return {
|
||||
sizeMatchRegExp: sizeMatchRegExp,
|
||||
replaceSizeExist: replaceSizeExist,
|
||||
replaceSizeNotExist: replaceSizeNotExist,
|
||||
};
|
||||
}
|
||||
/**
|
||||
* Get the parameters needed to handle the zoom for a remote image.
|
||||
* Format: https://www.example.com/image.png
|
||||
* @param imageUri URI of the image
|
||||
* @param fileText content of the current file
|
||||
* @returns parameters to handle the zoom
|
||||
*/
|
||||
static getRemoteImageZoomParams(imageUri, fileText) {
|
||||
const isInTable = Util.isInTable(imageUri, fileText);
|
||||
// Separator to use for the replacement
|
||||
const sizeSeparator = isInTable ? "\\|" : "|";
|
||||
// Separator to use for the regex: isInTable ? \\\| : \|
|
||||
const regexSeparator = isInTable ? "\\\\\\|" : "\\|";
|
||||
return Util.generateReplaceTermForMarkdownSyntax(imageUri, regexSeparator, sizeSeparator, fileText);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Function to escape a string into a valid searchable string for a regex
|
||||
* @param string string to escape
|
||||
* @returns escaped string
|
||||
*/
|
||||
function escapeRegex(string) {
|
||||
return string.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
|
||||
}
|
||||
|
||||
var ModifierKey;
|
||||
(function (ModifierKey) {
|
||||
ModifierKey["ALT"] = "AltLeft";
|
||||
ModifierKey["CTRL"] = "ControlLeft";
|
||||
ModifierKey["SHIFT"] = "ShiftLeft";
|
||||
ModifierKey["ALT_RIGHT"] = "AltRight";
|
||||
ModifierKey["CTRL_RIGHT"] = "ControlRight";
|
||||
ModifierKey["SHIFT_RIGHT"] = "ShiftRight";
|
||||
})(ModifierKey || (ModifierKey = {}));
|
||||
const DEFAULT_SETTINGS = {
|
||||
modifierKey: ModifierKey.ALT,
|
||||
stepSize: 25,
|
||||
initialSize: 500,
|
||||
resizeInCanvas: true,
|
||||
};
|
||||
const CtrlCanvasConflictWarning = "Warning: Using Ctrl as the modifier key conflicts with default canvas zooming behavior when 'Resize in canvas' is enabled. Consider using another modifier key or disabling 'Resize in canvas'.";
|
||||
class MouseWheelZoomPlugin extends obsidian.Plugin {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.isKeyHeldDown = false;
|
||||
this.wheelOpt = { passive: false, capture: true };
|
||||
this.wheelEvent = 'wheel';
|
||||
}
|
||||
onload() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
yield this.loadSettings();
|
||||
this.registerEvent(this.app.workspace.on("window-open", (newWindow) => this.registerEvents(newWindow.win)));
|
||||
this.registerEvents(window);
|
||||
this.addSettingTab(new MouseWheelZoomSettingsTab(this.app, this));
|
||||
console.log("Loaded: Mousewheel image zoom");
|
||||
this.checkExistingUserConflict();
|
||||
});
|
||||
}
|
||||
checkExistingUserConflict() {
|
||||
const noticeShownKey = 'mousewheel-zoom-ctrl-warning-shown'; // Key for localStorage flag
|
||||
const isCtrl = this.settings.modifierKey === ModifierKey.CTRL || this.settings.modifierKey === ModifierKey.CTRL_RIGHT;
|
||||
// Only show the notice if the conflict exists AND the user hasn't dismissed it before (using localStorage flag)
|
||||
if (isCtrl && this.settings.resizeInCanvas && !localStorage.getItem(noticeShownKey)) {
|
||||
const fragment = document.createDocumentFragment();
|
||||
const titleEl = document.createElement('strong');
|
||||
titleEl.textContent = "Mousewheel Image Zoom";
|
||||
fragment.appendChild(titleEl);
|
||||
fragment.appendChild(document.createElement('br'));
|
||||
const messageEl = document.createElement('span');
|
||||
messageEl.textContent = CtrlCanvasConflictWarning;
|
||||
fragment.appendChild(messageEl);
|
||||
fragment.appendChild(document.createElement('br'));
|
||||
const settingsButton = document.createElement('button');
|
||||
settingsButton.textContent = "Open Settings";
|
||||
settingsButton.style.marginTop = "5px";
|
||||
settingsButton.onclick = () => {
|
||||
// settings is a private property of the app object, so we need to cast it to any to access it
|
||||
// See https://forum.obsidian.md/t/open-settings-for-my-plugin-community-plugin-settings-deeplink/61563/4
|
||||
const setting = this.app.setting;
|
||||
setting.open();
|
||||
setting.openTabById(this.manifest.id);
|
||||
};
|
||||
fragment.appendChild(settingsButton);
|
||||
new obsidian.Notice(fragment, 0);
|
||||
// Set the flag in localStorage so the notice doesn't appear again
|
||||
// unless the user clears their localStorage or the key changes.
|
||||
localStorage.setItem(noticeShownKey, 'true');
|
||||
}
|
||||
}
|
||||
/**
|
||||
* When the config key is released, we enable the scroll again and reset the key held down flag.
|
||||
*/
|
||||
onConfigKeyUp(currentWindow) {
|
||||
this.isKeyHeldDown = false;
|
||||
this.enableScroll(currentWindow);
|
||||
}
|
||||
onunload(currentWindow = window) {
|
||||
// Re-enable the normal scrolling behavior when the plugin unloads
|
||||
this.enableScroll(currentWindow);
|
||||
}
|
||||
/**
|
||||
* Registers image resizing events for the specified window
|
||||
* @param currentWindow window in which to register events
|
||||
* @private
|
||||
*/
|
||||
registerEvents(currentWindow) {
|
||||
const doc = currentWindow.document;
|
||||
this.registerDomEvent(doc, "keydown", (evt) => {
|
||||
var _a;
|
||||
if (evt.code === this.settings.modifierKey.toString()) {
|
||||
// When canvas mode is enabled we just ignore the keydown event if the canvas is active
|
||||
const isActiveViewCanvas = ((_a = this.app.workspace.getActiveViewOfType(obsidian.View)) === null || _a === void 0 ? void 0 : _a.getViewType()) === "canvas";
|
||||
if (isActiveViewCanvas && !this.settings.resizeInCanvas) {
|
||||
return;
|
||||
}
|
||||
this.isKeyHeldDown = true;
|
||||
if (this.settings.modifierKey !== ModifierKey.SHIFT && this.settings.modifierKey !== ModifierKey.SHIFT_RIGHT) { // Ignore shift to allow horizontal scrolling
|
||||
// Disable the normal scrolling behavior when the key is held down
|
||||
this.disableScroll(currentWindow);
|
||||
}
|
||||
}
|
||||
});
|
||||
this.registerDomEvent(doc, "keyup", (evt) => {
|
||||
if (evt.code === this.settings.modifierKey.toString()) {
|
||||
this.onConfigKeyUp(currentWindow);
|
||||
}
|
||||
});
|
||||
this.registerDomEvent(doc, "wheel", (evt) => {
|
||||
if (this.isKeyHeldDown) {
|
||||
// When for example using Alt + Tab to switch between windows, the key is still recognized as held down.
|
||||
// We check if the key is really held down by checking if the key is still pressed in the event when the
|
||||
// wheel event is triggered.
|
||||
if (!this.isConfiguredKeyDown(evt)) {
|
||||
this.onConfigKeyUp(currentWindow);
|
||||
return;
|
||||
}
|
||||
const eventTarget = evt.target;
|
||||
const targetIsCanvas = eventTarget.hasClass("canvas-node-content-blocker");
|
||||
const targetIsCanvasNode = eventTarget.closest(".canvas-node-content") !== null;
|
||||
const targetIsImage = eventTarget.nodeName === "IMG";
|
||||
if (targetIsCanvas || targetIsCanvasNode || targetIsImage) {
|
||||
this.disableScroll(currentWindow);
|
||||
}
|
||||
if (targetIsCanvas && this.settings.resizeInCanvas) {
|
||||
// seems we're trying to zoom on some canvas node.
|
||||
this.handleZoomForCanvas(evt, eventTarget);
|
||||
}
|
||||
else if (targetIsCanvasNode) ;
|
||||
else if (targetIsImage) {
|
||||
// Handle the zooming of the image
|
||||
this.handleZoom(evt, eventTarget);
|
||||
}
|
||||
}
|
||||
});
|
||||
this.registerDomEvent(currentWindow, "blur", () => {
|
||||
// When the window loses focus, ensure scrolling is re-enabled for this window
|
||||
// and reset the key held state defensively, although the keyup should ideally handle it.
|
||||
this.isKeyHeldDown = false;
|
||||
this.enableScroll(currentWindow);
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Handles zooming with the mousewheel on canvas node
|
||||
* @param evt wheel event
|
||||
* @param eventTarget targeted canvas node element
|
||||
* @private
|
||||
*/
|
||||
handleZoomForCanvas(evt, eventTarget) {
|
||||
// get active canvas
|
||||
const isCanvas = this.app.workspace.getActiveViewOfType(obsidian.View).getViewType() === "canvas";
|
||||
if (!isCanvas) {
|
||||
throw new Error("Can't find canvas");
|
||||
}
|
||||
// Unfortunately the current type definitions don't include any canvas functionality...
|
||||
const canvas = this.app.workspace.getActiveViewOfType(obsidian.View).canvas;
|
||||
// get triggered canvasNode
|
||||
const canvasNode = Array.from(canvas.nodes.values())
|
||||
.find(node => node.contentBlockerEl == eventTarget);
|
||||
// Adjust delta based on the direction of the resize
|
||||
let delta = evt.deltaY > 0 ? this.settings.stepSize : this.settings.stepSize * -1;
|
||||
// Calculate new dimensions directly using the delta and aspectRatio
|
||||
const aspectRatio = canvasNode.width / canvasNode.height;
|
||||
const newWidth = canvasNode.width + delta;
|
||||
const newHeight = newWidth / aspectRatio;
|
||||
// Resize the canvas node using the new dimensions
|
||||
canvasNode.resize({ width: newWidth, height: newHeight });
|
||||
}
|
||||
/**
|
||||
* Handles zooming with the mousewheel on an image
|
||||
* @param evt wheel event
|
||||
* @param eventTarget targeted image element
|
||||
* @private
|
||||
*/
|
||||
handleZoom(evt, eventTarget) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const imageUri = eventTarget.attributes.getNamedItem("src").textContent;
|
||||
const activeFile = yield this.getActivePaneWithImage(eventTarget);
|
||||
yield this.app.vault.process(activeFile, (fileText) => {
|
||||
let frontmatter = "";
|
||||
let body = fileText;
|
||||
const frontmatterRegex = /^---\s*([\s\S]*?)\s*---\n*/;
|
||||
const match = fileText.match(frontmatterRegex);
|
||||
if (match) {
|
||||
frontmatter = match[0]; // Keep the full matched frontmatter block including delimiters and trailing newline
|
||||
body = fileText.slice(frontmatter.length); // The rest is the body
|
||||
}
|
||||
const zoomParams = this.getZoomParams(imageUri, body, eventTarget);
|
||||
// Perform replacements ONLY on the body
|
||||
let modifiedBody = body;
|
||||
const sizeMatches = body.match(zoomParams.sizeMatchRegExp);
|
||||
// Element already has a size entry in the body
|
||||
if (sizeMatches !== null) {
|
||||
const oldSize = parseInt(sizeMatches[1]);
|
||||
let newSize = oldSize;
|
||||
if (evt.deltaY < 0) {
|
||||
newSize += this.settings.stepSize;
|
||||
}
|
||||
else if (evt.deltaY > 0 && newSize > this.settings.stepSize) {
|
||||
newSize -= this.settings.stepSize;
|
||||
}
|
||||
// Replace within the body
|
||||
modifiedBody = body.replace(zoomParams.replaceSizeExist.getReplaceFromString(oldSize), zoomParams.replaceSizeExist.getReplaceWithString(newSize));
|
||||
}
|
||||
else { // Element has no size entry in the body -> give it an initial size
|
||||
const initialSize = this.settings.initialSize;
|
||||
const image = new Image();
|
||||
image.src = imageUri;
|
||||
const width = image.naturalWidth || initialSize;
|
||||
const minWidth = Math.min(width, initialSize);
|
||||
// Replace within the body
|
||||
modifiedBody = body.replace(zoomParams.replaceSizeNotExist.getReplaceFromString(0), zoomParams.replaceSizeNotExist.getReplaceWithString(minWidth));
|
||||
}
|
||||
// Combine original frontmatter with the modified body
|
||||
return frontmatter + modifiedBody;
|
||||
});
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Loop through all panes and get the pane that hosts a markdown file with the image to zoom
|
||||
* @param imageElement The HTML Element of the image
|
||||
* @private
|
||||
*/
|
||||
getActivePaneWithImage(imageElement) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
return new Promise(((resolve, reject) => {
|
||||
this.app.workspace.iterateAllLeaves(leaf => {
|
||||
if (leaf.view.containerEl.contains(imageElement) && leaf.view instanceof obsidian.MarkdownView) {
|
||||
resolve(leaf.view.file);
|
||||
}
|
||||
});
|
||||
reject(new Error("No file belonging to the image found"));
|
||||
}));
|
||||
});
|
||||
}
|
||||
getZoomParams(imageUri, fileText, target) {
|
||||
if (imageUri.contains("http")) {
|
||||
return Util.getRemoteImageZoomParams(imageUri, fileText);
|
||||
}
|
||||
else if (target.classList.value.match("excalidraw-svg.*")) {
|
||||
const src = target.attributes.getNamedItem("filesource").textContent;
|
||||
// remove ".md" from the end of the src
|
||||
const imageName = src.substring(0, src.length - 3);
|
||||
// Only get text after "/"
|
||||
const imageNameAfterSlash = imageName.substring(imageName.lastIndexOf("/") + 1);
|
||||
return Util.getLocalImageZoomParams(imageNameAfterSlash, fileText);
|
||||
}
|
||||
else if (imageUri.contains("app://")) {
|
||||
const imageName = Util.getLocalImageNameFromUri(imageUri);
|
||||
return Util.getLocalImageZoomParams(imageName, fileText);
|
||||
}
|
||||
else if (imageUri.contains("data:image/")) { // for image generated by PDF++ extension
|
||||
// example: data:image/png;base64,iVB...
|
||||
const imageName = Util.getLocalImageNameFromUri(target.parentElement.getAttribute("src"));
|
||||
return Util.getLocalImageZoomParams(imageName, fileText);
|
||||
}
|
||||
throw new Error("Image is not zoomable");
|
||||
}
|
||||
loadSettings() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
this.settings = Object.assign({}, DEFAULT_SETTINGS, yield this.loadData());
|
||||
});
|
||||
}
|
||||
saveSettings() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
yield this.saveData(this.settings);
|
||||
});
|
||||
}
|
||||
// Utilities to disable and enable scrolling //
|
||||
preventDefault(ev) {
|
||||
ev.preventDefault();
|
||||
}
|
||||
/**
|
||||
* Disables the normal scroll event
|
||||
*/
|
||||
disableScroll(currentWindow) {
|
||||
currentWindow.addEventListener(this.wheelEvent, this.preventDefault, this.wheelOpt);
|
||||
}
|
||||
/**
|
||||
* Enables the normal scroll event
|
||||
*/
|
||||
enableScroll(currentWindow) {
|
||||
currentWindow.removeEventListener(this.wheelEvent, this.preventDefault, this.wheelOpt);
|
||||
}
|
||||
isConfiguredKeyDown(evt) {
|
||||
switch (this.settings.modifierKey) {
|
||||
case ModifierKey.ALT:
|
||||
case ModifierKey.ALT_RIGHT:
|
||||
return evt.altKey;
|
||||
case ModifierKey.CTRL:
|
||||
case ModifierKey.CTRL_RIGHT:
|
||||
return evt.ctrlKey;
|
||||
case ModifierKey.SHIFT:
|
||||
case ModifierKey.SHIFT_RIGHT:
|
||||
return evt.shiftKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
class MouseWheelZoomSettingsTab extends obsidian.PluginSettingTab {
|
||||
constructor(app, plugin) {
|
||||
super(app, plugin);
|
||||
this.plugin = plugin;
|
||||
}
|
||||
// Helper function to update the warning message
|
||||
updateWarningMessage(modifierKey, resizeInCanvas) {
|
||||
if (!this.warningEl)
|
||||
return;
|
||||
const isCtrl = modifierKey === ModifierKey.CTRL || modifierKey === ModifierKey.CTRL_RIGHT;
|
||||
const conflict = isCtrl && resizeInCanvas;
|
||||
if (conflict) {
|
||||
this.warningEl.setText(CtrlCanvasConflictWarning);
|
||||
this.warningEl.style.display = 'block';
|
||||
this.warningEl.style.color = 'var(--text-warning)';
|
||||
this.warningEl.style.marginTop = '10px';
|
||||
}
|
||||
else {
|
||||
this.warningEl.setText("");
|
||||
this.warningEl.style.display = 'none';
|
||||
}
|
||||
}
|
||||
display() {
|
||||
let { containerEl } = this;
|
||||
containerEl.empty();
|
||||
containerEl.createEl('h2', { text: 'Settings for mousewheel zoom' });
|
||||
new obsidian.Setting(containerEl)
|
||||
.setName('Trigger Key')
|
||||
.setDesc('Key that needs to be pressed down for mousewheel zoom to work.')
|
||||
.addDropdown(dropdown => dropdown
|
||||
.addOption(ModifierKey.CTRL, "Ctrl")
|
||||
.addOption(ModifierKey.ALT, "Alt")
|
||||
.addOption(ModifierKey.SHIFT, "Shift")
|
||||
.addOption(ModifierKey.CTRL_RIGHT, "Right Ctrl")
|
||||
.addOption(ModifierKey.ALT_RIGHT, "Right Alt")
|
||||
.addOption(ModifierKey.SHIFT_RIGHT, "Right Shift")
|
||||
.setValue(this.plugin.settings.modifierKey)
|
||||
.onChange((value) => __awaiter(this, void 0, void 0, function* () {
|
||||
this.plugin.settings.modifierKey = value;
|
||||
this.updateWarningMessage(this.plugin.settings.modifierKey, this.plugin.settings.resizeInCanvas);
|
||||
yield this.plugin.saveSettings();
|
||||
})));
|
||||
new obsidian.Setting(containerEl)
|
||||
.setName('Step size')
|
||||
.setDesc('Step value by which the size of the image should be increased/decreased')
|
||||
.addSlider(slider => {
|
||||
slider
|
||||
.setValue(25)
|
||||
.setLimits(0, 100, 1)
|
||||
.setDynamicTooltip()
|
||||
.setValue(this.plugin.settings.stepSize)
|
||||
.onChange((value) => __awaiter(this, void 0, void 0, function* () {
|
||||
this.plugin.settings.stepSize = value;
|
||||
yield this.plugin.saveSettings();
|
||||
}));
|
||||
});
|
||||
new obsidian.Setting(containerEl)
|
||||
.setName('Initial Size')
|
||||
.setDesc('Initial image size if no size was defined beforehand')
|
||||
.addSlider(slider => {
|
||||
slider
|
||||
.setValue(500)
|
||||
.setLimits(0, 1000, 25)
|
||||
.setDynamicTooltip()
|
||||
.setValue(this.plugin.settings.initialSize)
|
||||
.onChange((value) => __awaiter(this, void 0, void 0, function* () {
|
||||
this.plugin.settings.initialSize = value;
|
||||
yield this.plugin.saveSettings();
|
||||
}));
|
||||
});
|
||||
new obsidian.Setting(containerEl)
|
||||
.setName('Resize in canvas')
|
||||
.setDesc('When enabled, all nodes on the Obsidian canvas can also be resized using the Modifier key')
|
||||
.addToggle((toggle) => {
|
||||
toggle.setValue(this.plugin.settings.resizeInCanvas)
|
||||
.onChange((value) => __awaiter(this, void 0, void 0, function* () {
|
||||
this.plugin.settings.resizeInCanvas = value;
|
||||
this.updateWarningMessage(this.plugin.settings.modifierKey, value);
|
||||
yield this.plugin.saveSettings();
|
||||
}));
|
||||
});
|
||||
this.warningEl = containerEl.createDiv({ cls: 'mousewheel-zoom-warning' });
|
||||
this.warningEl.style.display = 'none';
|
||||
this.updateWarningMessage(this.plugin.settings.modifierKey, this.plugin.settings.resizeInCanvas);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = MouseWheelZoomPlugin;
|
||||
|
||||
|
||||
/* nosourcemap */
|
||||
10
RPG/.obsidian/plugins/mousewheel-image-zoom/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "mousewheel-image-zoom",
|
||||
"name": "Mousewheel Image zoom",
|
||||
"version": "1.0.24",
|
||||
"minAppVersion": "0.9.12",
|
||||
"description": "This plugin enables you to increase/decrease the size of an image by scrolling",
|
||||
"author": "Nico Jeske",
|
||||
"authorUrl": "https://github.com/nicojeske/mousewheel-image-zoom",
|
||||
"isDesktopOnly": true
|
||||
}
|
||||
817
RPG/.obsidian/plugins/obsidian-excalidraw-plugin/data.json
vendored
Normal file
|
|
@ -0,0 +1,817 @@
|
|||
{
|
||||
"copyLinkToElemenetAnchorTo100": false,
|
||||
"copyFrameLinkByName": false,
|
||||
"disableDoubleClickTextEditing": false,
|
||||
"folder": "Excalidraw",
|
||||
"cropFolder": "",
|
||||
"annotateFolder": "",
|
||||
"embedUseExcalidrawFolder": false,
|
||||
"templateFilePath": "Excalidraw/Template.excalidraw",
|
||||
"scriptFolderPath": "Excalidraw/Scripts",
|
||||
"fontAssetsPath": "Excalidraw/CJK Fonts",
|
||||
"loadChineseFonts": false,
|
||||
"loadJapaneseFonts": false,
|
||||
"loadKoreanFonts": false,
|
||||
"compress": true,
|
||||
"decompressForMDView": false,
|
||||
"onceOffCompressFlagReset": true,
|
||||
"onceOffGPTVersionReset": true,
|
||||
"autosave": true,
|
||||
"autosaveIntervalDesktop": 60000,
|
||||
"autosaveIntervalMobile": 30000,
|
||||
"drawingFilenamePrefix": "Drawing ",
|
||||
"drawingEmbedPrefixWithFilename": true,
|
||||
"drawingFilnameEmbedPostfix": " ",
|
||||
"drawingFilenameDateTime": "YYYY-MM-DD HH.mm.ss",
|
||||
"useExcalidrawExtension": true,
|
||||
"cropSuffix": "",
|
||||
"cropPrefix": "cropped_",
|
||||
"annotateSuffix": "",
|
||||
"annotatePrefix": "annotated_",
|
||||
"annotatePreserveSize": false,
|
||||
"previewImageType": "SVGIMG",
|
||||
"renderingConcurrency": 3,
|
||||
"allowImageCache": true,
|
||||
"allowImageCacheInScene": true,
|
||||
"displayExportedImageIfAvailable": false,
|
||||
"previewMatchObsidianTheme": false,
|
||||
"width": "400",
|
||||
"height": "",
|
||||
"overrideObsidianFontSize": false,
|
||||
"dynamicStyling": "colorful",
|
||||
"isLeftHanded": false,
|
||||
"desktopUIMode": "tray",
|
||||
"tabletUIMode": "compact",
|
||||
"phoneUIMode": "mobile",
|
||||
"iframeMatchExcalidrawTheme": true,
|
||||
"matchTheme": false,
|
||||
"matchThemeAlways": false,
|
||||
"matchThemeTrigger": false,
|
||||
"defaultMode": "normal",
|
||||
"defaultPenMode": "never",
|
||||
"penModeDoubleTapEraser": true,
|
||||
"penModeSingleFingerPanning": true,
|
||||
"penModeCrosshairVisible": true,
|
||||
"panWithRightMouseButton": false,
|
||||
"renderImageInMarkdownReadingMode": false,
|
||||
"renderImageInHoverPreviewForMDNotes": false,
|
||||
"renderImageInMarkdownToPDF": false,
|
||||
"allowPinchZoom": false,
|
||||
"allowWheelZoom": false,
|
||||
"zoomToFitOnOpen": true,
|
||||
"zoomToFitOnResize": true,
|
||||
"zoomToFitMaxLevel": 2,
|
||||
"zoomStep": 0.05,
|
||||
"zoomMin": 0.1,
|
||||
"zoomMax": 30,
|
||||
"linkPrefix": "📍",
|
||||
"urlPrefix": "🌐",
|
||||
"parseTODO": false,
|
||||
"todo": "☐",
|
||||
"done": "🗹",
|
||||
"hoverPreviewWithoutCTRL": false,
|
||||
"linkOpacity": 1,
|
||||
"openInAdjacentPane": true,
|
||||
"showSecondOrderLinks": true,
|
||||
"focusOnFileTab": true,
|
||||
"openInMainWorkspace": true,
|
||||
"showLinkBrackets": true,
|
||||
"syncElementLinkWithText": false,
|
||||
"allowCtrlClick": true,
|
||||
"forceWrap": false,
|
||||
"pageTransclusionCharLimit": 200,
|
||||
"wordWrappingDefault": 0,
|
||||
"removeTransclusionQuoteSigns": true,
|
||||
"iframelyAllowed": true,
|
||||
"pngExportScale": 1,
|
||||
"exportWithTheme": true,
|
||||
"exportWithBackground": true,
|
||||
"exportPaddingSVG": 10,
|
||||
"exportEmbedScene": false,
|
||||
"keepInSync": false,
|
||||
"autoexportSVG": false,
|
||||
"autoexportPNG": false,
|
||||
"autoExportLightAndDark": false,
|
||||
"autoexportExcalidraw": false,
|
||||
"embedType": "excalidraw",
|
||||
"embedMarkdownCommentLinks": true,
|
||||
"embedWikiLink": true,
|
||||
"syncExcalidraw": false,
|
||||
"experimentalFileType": false,
|
||||
"experimentalFileTag": "✏️",
|
||||
"experimentalLivePreview": true,
|
||||
"fadeOutExcalidrawMarkup": false,
|
||||
"loadPropertySuggestions": true,
|
||||
"experimentalEnableFourthFont": false,
|
||||
"experimantalFourthFont": "Virgil",
|
||||
"addDummyTextElement": false,
|
||||
"zoteroCompatibility": false,
|
||||
"fieldSuggester": true,
|
||||
"compatibilityMode": false,
|
||||
"drawingOpenCount": 0,
|
||||
"library": "deprecated",
|
||||
"library2": {
|
||||
"type": "excalidrawlib",
|
||||
"version": 2,
|
||||
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.20.6",
|
||||
"libraryItems": []
|
||||
},
|
||||
"imageElementNotice": true,
|
||||
"mdSVGwidth": 500,
|
||||
"mdSVGmaxHeight": 800,
|
||||
"mdFont": "Virgil",
|
||||
"mdFontColor": "Black",
|
||||
"mdBorderColor": "Black",
|
||||
"mdCSS": "",
|
||||
"scriptEngineSettings": {},
|
||||
"previousRelease": "2.21.2",
|
||||
"showReleaseNotes": true,
|
||||
"compareManifestToPluginVersion": true,
|
||||
"showNewVersionNotification": true,
|
||||
"latexBoilerplate": "\\color{blue}",
|
||||
"latexPreambleLocation": "preamble.sty",
|
||||
"taskboneEnabled": false,
|
||||
"taskboneAPIkey": "",
|
||||
"pinnedScripts": [],
|
||||
"sidepanelTabs": [],
|
||||
"customPens": [
|
||||
{
|
||||
"type": "default",
|
||||
"freedrawOnly": false,
|
||||
"strokeColor": "#000000",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "hachure",
|
||||
"strokeWidth": 0,
|
||||
"roughness": 0,
|
||||
"penOptions": {
|
||||
"highlighter": false,
|
||||
"constantPressure": false,
|
||||
"hasOutline": false,
|
||||
"outlineWidth": 1,
|
||||
"options": {
|
||||
"thinning": 0.6,
|
||||
"smoothing": 0.5,
|
||||
"streamline": 0.5,
|
||||
"easing": "easeOutSine",
|
||||
"start": {
|
||||
"cap": true,
|
||||
"taper": 0,
|
||||
"easing": "linear"
|
||||
},
|
||||
"end": {
|
||||
"cap": true,
|
||||
"taper": 0,
|
||||
"easing": "linear"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "highlighter",
|
||||
"freedrawOnly": true,
|
||||
"strokeColor": "#FFC47C",
|
||||
"backgroundColor": "#FFC47C",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"roughness": null,
|
||||
"penOptions": {
|
||||
"highlighter": true,
|
||||
"constantPressure": true,
|
||||
"hasOutline": true,
|
||||
"outlineWidth": 4,
|
||||
"options": {
|
||||
"thinning": 1,
|
||||
"smoothing": 0.5,
|
||||
"streamline": 0.5,
|
||||
"easing": "linear",
|
||||
"start": {
|
||||
"taper": 0,
|
||||
"cap": true,
|
||||
"easing": "linear"
|
||||
},
|
||||
"end": {
|
||||
"taper": 0,
|
||||
"cap": true,
|
||||
"easing": "linear"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "finetip",
|
||||
"freedrawOnly": false,
|
||||
"strokeColor": "#3E6F8D",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "hachure",
|
||||
"strokeWidth": 0.5,
|
||||
"roughness": 0,
|
||||
"penOptions": {
|
||||
"highlighter": false,
|
||||
"hasOutline": false,
|
||||
"outlineWidth": 1,
|
||||
"constantPressure": true,
|
||||
"options": {
|
||||
"smoothing": 0.4,
|
||||
"thinning": -0.5,
|
||||
"streamline": 0.4,
|
||||
"easing": "linear",
|
||||
"start": {
|
||||
"taper": 5,
|
||||
"cap": false,
|
||||
"easing": "linear"
|
||||
},
|
||||
"end": {
|
||||
"taper": 5,
|
||||
"cap": false,
|
||||
"easing": "linear"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "fountain",
|
||||
"freedrawOnly": false,
|
||||
"strokeColor": "#000000",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "hachure",
|
||||
"strokeWidth": 2,
|
||||
"roughness": 0,
|
||||
"penOptions": {
|
||||
"highlighter": false,
|
||||
"constantPressure": false,
|
||||
"hasOutline": false,
|
||||
"outlineWidth": 1,
|
||||
"options": {
|
||||
"smoothing": 0.2,
|
||||
"thinning": 0.6,
|
||||
"streamline": 0.2,
|
||||
"easing": "easeInOutSine",
|
||||
"start": {
|
||||
"taper": 150,
|
||||
"cap": true,
|
||||
"easing": "linear"
|
||||
},
|
||||
"end": {
|
||||
"taper": 1,
|
||||
"cap": true,
|
||||
"easing": "linear"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "marker",
|
||||
"freedrawOnly": true,
|
||||
"strokeColor": "#B83E3E",
|
||||
"backgroundColor": "#FF7C7C",
|
||||
"fillStyle": "dashed",
|
||||
"strokeWidth": 2,
|
||||
"roughness": 3,
|
||||
"penOptions": {
|
||||
"highlighter": false,
|
||||
"constantPressure": true,
|
||||
"hasOutline": true,
|
||||
"outlineWidth": 4,
|
||||
"options": {
|
||||
"thinning": 1,
|
||||
"smoothing": 0.5,
|
||||
"streamline": 0.5,
|
||||
"easing": "linear",
|
||||
"start": {
|
||||
"taper": 0,
|
||||
"cap": true,
|
||||
"easing": "linear"
|
||||
},
|
||||
"end": {
|
||||
"taper": 0,
|
||||
"cap": true,
|
||||
"easing": "linear"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "thick-thin",
|
||||
"freedrawOnly": true,
|
||||
"strokeColor": "#CECDCC",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "hachure",
|
||||
"strokeWidth": 0,
|
||||
"roughness": null,
|
||||
"penOptions": {
|
||||
"highlighter": true,
|
||||
"constantPressure": true,
|
||||
"hasOutline": false,
|
||||
"outlineWidth": 1,
|
||||
"options": {
|
||||
"thinning": 1,
|
||||
"smoothing": 0.5,
|
||||
"streamline": 0.5,
|
||||
"easing": "linear",
|
||||
"start": {
|
||||
"taper": 0,
|
||||
"cap": true,
|
||||
"easing": "linear"
|
||||
},
|
||||
"end": {
|
||||
"cap": true,
|
||||
"taper": true,
|
||||
"easing": "linear"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "thin-thick-thin",
|
||||
"freedrawOnly": true,
|
||||
"strokeColor": "#CECDCC",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "hachure",
|
||||
"strokeWidth": 0,
|
||||
"roughness": null,
|
||||
"penOptions": {
|
||||
"highlighter": true,
|
||||
"constantPressure": true,
|
||||
"hasOutline": false,
|
||||
"outlineWidth": 1,
|
||||
"options": {
|
||||
"thinning": 1,
|
||||
"smoothing": 0.5,
|
||||
"streamline": 0.5,
|
||||
"easing": "linear",
|
||||
"start": {
|
||||
"cap": true,
|
||||
"taper": true,
|
||||
"easing": "linear"
|
||||
},
|
||||
"end": {
|
||||
"cap": true,
|
||||
"taper": true,
|
||||
"easing": "linear"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "default",
|
||||
"freedrawOnly": false,
|
||||
"strokeColor": "#000000",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "hachure",
|
||||
"strokeWidth": 0,
|
||||
"roughness": 0,
|
||||
"penOptions": {
|
||||
"highlighter": false,
|
||||
"constantPressure": false,
|
||||
"hasOutline": false,
|
||||
"outlineWidth": 1,
|
||||
"options": {
|
||||
"thinning": 0.6,
|
||||
"smoothing": 0.5,
|
||||
"streamline": 0.5,
|
||||
"easing": "easeOutSine",
|
||||
"start": {
|
||||
"cap": true,
|
||||
"taper": 0,
|
||||
"easing": "linear"
|
||||
},
|
||||
"end": {
|
||||
"cap": true,
|
||||
"taper": 0,
|
||||
"easing": "linear"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "default",
|
||||
"freedrawOnly": false,
|
||||
"strokeColor": "#000000",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "hachure",
|
||||
"strokeWidth": 0,
|
||||
"roughness": 0,
|
||||
"penOptions": {
|
||||
"highlighter": false,
|
||||
"constantPressure": false,
|
||||
"hasOutline": false,
|
||||
"outlineWidth": 1,
|
||||
"options": {
|
||||
"thinning": 0.6,
|
||||
"smoothing": 0.5,
|
||||
"streamline": 0.5,
|
||||
"easing": "easeOutSine",
|
||||
"start": {
|
||||
"cap": true,
|
||||
"taper": 0,
|
||||
"easing": "linear"
|
||||
},
|
||||
"end": {
|
||||
"cap": true,
|
||||
"taper": 0,
|
||||
"easing": "linear"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "default",
|
||||
"freedrawOnly": false,
|
||||
"strokeColor": "#000000",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "hachure",
|
||||
"strokeWidth": 0,
|
||||
"roughness": 0,
|
||||
"penOptions": {
|
||||
"highlighter": false,
|
||||
"constantPressure": false,
|
||||
"hasOutline": false,
|
||||
"outlineWidth": 1,
|
||||
"options": {
|
||||
"thinning": 0.6,
|
||||
"smoothing": 0.5,
|
||||
"streamline": 0.5,
|
||||
"easing": "easeOutSine",
|
||||
"start": {
|
||||
"cap": true,
|
||||
"taper": 0,
|
||||
"easing": "linear"
|
||||
},
|
||||
"end": {
|
||||
"cap": true,
|
||||
"taper": 0,
|
||||
"easing": "linear"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"numberOfCustomPens": 0,
|
||||
"pdfScale": 4,
|
||||
"pdfBorderBox": true,
|
||||
"pdfFrame": false,
|
||||
"pdfGapSize": 20,
|
||||
"pdfGroupPages": false,
|
||||
"pdfLockAfterImport": true,
|
||||
"pdfNumColumns": 1,
|
||||
"pdfNumRows": 1,
|
||||
"pdfDirection": "right",
|
||||
"pdfImportScale": 0.3,
|
||||
"gridSettings": {
|
||||
"DYNAMIC_COLOR": true,
|
||||
"COLOR": "#000000",
|
||||
"OPACITY": 50
|
||||
},
|
||||
"laserSettings": {
|
||||
"DECAY_LENGTH": 50,
|
||||
"DECAY_TIME": 1000,
|
||||
"COLOR": "#ff0000"
|
||||
},
|
||||
"embeddableMarkdownDefaults": {
|
||||
"useObsidianDefaults": false,
|
||||
"backgroundMatchCanvas": false,
|
||||
"backgroundMatchElement": true,
|
||||
"backgroundColor": "#fff",
|
||||
"backgroundOpacity": 60,
|
||||
"borderMatchElement": true,
|
||||
"borderColor": "#fff",
|
||||
"borderOpacity": 0,
|
||||
"filenameVisible": false
|
||||
},
|
||||
"markdownNodeOneClickEditing": false,
|
||||
"canvasImmersiveEmbed": true,
|
||||
"startupScriptPath": "",
|
||||
"aiEnabled": true,
|
||||
"openAIAPIToken": "",
|
||||
"openAIDefaultTextModel": "gpt-3.5-turbo-1106",
|
||||
"openAIDefaultTextModelMaxTokens": 4096,
|
||||
"openAIDefaultVisionModel": "gpt-4o",
|
||||
"openAIDefaultImageGenerationModel": "dall-e-3",
|
||||
"openAIURL": "https://api.openai.com/v1/chat/completions",
|
||||
"openAIImageGenerationURL": "https://api.openai.com/v1/images/generations",
|
||||
"openAIImageEditsURL": "https://api.openai.com/v1/images/edits",
|
||||
"openAIImageVariationURL": "https://api.openai.com/v1/images/variations",
|
||||
"modifierKeyConfig": {
|
||||
"Mac": {
|
||||
"LocalFileDragAction": {
|
||||
"defaultAction": "image-import",
|
||||
"rules": [
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "image-import"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": true,
|
||||
"meta_ctrl": false,
|
||||
"result": "link"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "image-url"
|
||||
},
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": true,
|
||||
"meta_ctrl": false,
|
||||
"result": "embeddable"
|
||||
}
|
||||
]
|
||||
},
|
||||
"WebBrowserDragAction": {
|
||||
"defaultAction": "image-url",
|
||||
"rules": [
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "image-url"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": true,
|
||||
"meta_ctrl": false,
|
||||
"result": "link"
|
||||
},
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": true,
|
||||
"meta_ctrl": false,
|
||||
"result": "embeddable"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "image-import"
|
||||
}
|
||||
]
|
||||
},
|
||||
"InternalDragAction": {
|
||||
"defaultAction": "link",
|
||||
"rules": [
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "link"
|
||||
},
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": true,
|
||||
"result": "embeddable"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "image"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": true,
|
||||
"result": "image-fullsize"
|
||||
}
|
||||
]
|
||||
},
|
||||
"LinkClickAction": {
|
||||
"defaultAction": "new-tab",
|
||||
"rules": [
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "active-pane"
|
||||
},
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "new-tab"
|
||||
},
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": true,
|
||||
"meta_ctrl": false,
|
||||
"result": "new-pane"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": true,
|
||||
"meta_ctrl": false,
|
||||
"result": "popout-window"
|
||||
},
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": true,
|
||||
"result": "md-properties"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Win": {
|
||||
"LocalFileDragAction": {
|
||||
"defaultAction": "image-import",
|
||||
"rules": [
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "image-import"
|
||||
},
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "link"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "image-url"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "embeddable"
|
||||
}
|
||||
]
|
||||
},
|
||||
"WebBrowserDragAction": {
|
||||
"defaultAction": "image-url",
|
||||
"rules": [
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "image-url"
|
||||
},
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "link"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "embeddable"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "image-import"
|
||||
}
|
||||
]
|
||||
},
|
||||
"InternalDragAction": {
|
||||
"defaultAction": "link",
|
||||
"rules": [
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "link"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "embeddable"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "image"
|
||||
},
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": true,
|
||||
"meta_ctrl": false,
|
||||
"result": "image-fullsize"
|
||||
}
|
||||
]
|
||||
},
|
||||
"LinkClickAction": {
|
||||
"defaultAction": "new-tab",
|
||||
"rules": [
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": false,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "active-pane"
|
||||
},
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": false,
|
||||
"result": "new-tab"
|
||||
},
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": true,
|
||||
"meta_ctrl": false,
|
||||
"result": "new-pane"
|
||||
},
|
||||
{
|
||||
"shift": true,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": true,
|
||||
"meta_ctrl": false,
|
||||
"result": "popout-window"
|
||||
},
|
||||
{
|
||||
"shift": false,
|
||||
"ctrl_cmd": true,
|
||||
"alt_opt": false,
|
||||
"meta_ctrl": true,
|
||||
"result": "md-properties"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"slidingPanesSupport": false,
|
||||
"areaZoomLimit": 1,
|
||||
"longPressDesktop": 500,
|
||||
"longPressMobile": 500,
|
||||
"doubleClickLinkOpenViewMode": true,
|
||||
"isDebugMode": false,
|
||||
"rank": "Bronze",
|
||||
"modifierKeyOverrides": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod"
|
||||
],
|
||||
"key": "Enter"
|
||||
},
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod"
|
||||
],
|
||||
"key": "k"
|
||||
},
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod"
|
||||
],
|
||||
"key": "G"
|
||||
}
|
||||
],
|
||||
"showSplashscreen": true,
|
||||
"pdfSettings": {
|
||||
"pageSize": "A4",
|
||||
"pageOrientation": "portrait",
|
||||
"fitToPage": 1,
|
||||
"paperColor": "white",
|
||||
"customPaperColor": "#ffffff",
|
||||
"alignment": "center",
|
||||
"margin": "normal"
|
||||
},
|
||||
"disableContextMenu": false,
|
||||
"defaultTrayMode": true
|
||||
}
|
||||
10
RPG/.obsidian/plugins/obsidian-excalidraw-plugin/main.js
vendored
Normal file
12
RPG/.obsidian/plugins/obsidian-excalidraw-plugin/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"id": "obsidian-excalidraw-plugin",
|
||||
"name": "Excalidraw",
|
||||
"version": "2.21.2",
|
||||
"minAppVersion": "1.5.7",
|
||||
"description": "Sketch Your Mind. An Obsidian plugin to edit and view Excalidraw drawings. Enter the world of 4D Visual PKM.",
|
||||
"author": "Zsolt Viczian",
|
||||
"authorUrl": "https://excalidraw-obsidian.online",
|
||||
"fundingUrl": "https://ko-fi.com/zsolt",
|
||||
"helpUrl": "https://github.com/zsviczian/obsidian-excalidraw-plugin#readme",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
1
RPG/.obsidian/plugins/obsidian-excalidraw-plugin/styles.css
vendored
Normal file
38
RPG/.obsidian/plugins/obsidian-leaflet-plugin/data.json
vendored
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"mapMarkers": [],
|
||||
"defaultMarker": {
|
||||
"type": "default",
|
||||
"iconName": "map-marker",
|
||||
"color": "#dddddd",
|
||||
"transform": {
|
||||
"size": 6,
|
||||
"x": 0,
|
||||
"y": -2
|
||||
}
|
||||
},
|
||||
"markerIcons": [],
|
||||
"color": "#dddddd",
|
||||
"lat": 39.983334,
|
||||
"long": -82.98333,
|
||||
"notePreview": false,
|
||||
"layerMarkers": true,
|
||||
"previousVersion": "6.0.5",
|
||||
"version": {
|
||||
"major": 6,
|
||||
"minor": 0,
|
||||
"patch": 5
|
||||
},
|
||||
"warnedAboutMapMarker": false,
|
||||
"copyOnClick": false,
|
||||
"displayMarkerTooltips": "hover",
|
||||
"displayOverlayTooltips": true,
|
||||
"configDirectory": null,
|
||||
"mapViewEnabled": true,
|
||||
"mapViewParameters": {},
|
||||
"enableDraw": true,
|
||||
"defaultUnitType": "imperial",
|
||||
"defaultTile": "https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}.png",
|
||||
"defaultTileDark": "https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}.png",
|
||||
"defaultAttribution": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors © <a href=\"https://carto.com/attributions\">CARTO</a>",
|
||||
"defaultTileSubdomains": "a,b,c,d"
|
||||
}
|
||||
3
RPG/.obsidian/plugins/obsidian-leaflet-plugin/main.js
vendored
Normal file
10
RPG/.obsidian/plugins/obsidian-leaflet-plugin/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-leaflet-plugin",
|
||||
"name": "Leaflet",
|
||||
"description": "Interactive maps inside your notes",
|
||||
"version": "6.0.5",
|
||||
"minAppVersion": "0.12.12",
|
||||
"author": "Jeremy Valentine",
|
||||
"repo": "valentine195/obsidian-leaflet-plugin",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
1314
RPG/.obsidian/plugins/obsidian-leaflet-plugin/styles.css
vendored
Normal file
33
RPG/.obsidian/plugins/obsidian-minimal-settings/data.json
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"lightStyle": "minimal-light",
|
||||
"darkStyle": "minimal-dark",
|
||||
"lightScheme": "minimal-default-light",
|
||||
"darkScheme": "minimal-default-dark",
|
||||
"editorFont": "",
|
||||
"lineHeight": 1.5,
|
||||
"lineWidth": 40,
|
||||
"lineWidthWide": 50,
|
||||
"maxWidth": 88,
|
||||
"textSmall": 13,
|
||||
"imgGrid": false,
|
||||
"imgWidth": "img-default-width",
|
||||
"tableWidth": "table-default-width",
|
||||
"iframeWidth": "iframe-default-width",
|
||||
"mapWidth": "map-default-width",
|
||||
"chartWidth": "chart-default-width",
|
||||
"colorfulHeadings": false,
|
||||
"colorfulFrame": false,
|
||||
"colorfulActiveStates": false,
|
||||
"trimNames": true,
|
||||
"labeledNav": false,
|
||||
"fullWidthMedia": true,
|
||||
"bordersToggle": true,
|
||||
"minimalStatus": true,
|
||||
"focusMode": false,
|
||||
"underlineInternal": true,
|
||||
"underlineExternal": true,
|
||||
"folding": true,
|
||||
"lineNumbers": false,
|
||||
"readableLineLength": false,
|
||||
"devBlockWidth": false
|
||||
}
|
||||
8
RPG/.obsidian/plugins/obsidian-minimal-settings/main.js
vendored
Normal file
11
RPG/.obsidian/plugins/obsidian-minimal-settings/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"id": "obsidian-minimal-settings",
|
||||
"name": "Minimal Theme Settings",
|
||||
"version": "8.2.1",
|
||||
"minAppVersion": "1.11.1",
|
||||
"description": "Change the colors, fonts and features of Minimal Theme.",
|
||||
"author": "@kepano",
|
||||
"authorUrl": "https://www.twitter.com/kepano",
|
||||
"fundingUrl": "https://www.buymeacoffee.com/kepano",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
3
RPG/.obsidian/plugins/obsidian-minimal-settings/styles.css
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
.setting-group > .setting-item-heading .setting-item-description {
|
||||
margin-top: 4px;
|
||||
}
|
||||
13
RPG/.obsidian/plugins/obsidian-style-settings/data.json
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"ITS@@select": "wotc-beyond",
|
||||
"ITS@@accent-color": false,
|
||||
"ITS@@s-d": false,
|
||||
"ITS@@slrvb-g": false,
|
||||
"ITS@@slrvb-b": false,
|
||||
"ITS@@t-d": false,
|
||||
"ITS@@drwn": false,
|
||||
"ITS@@nord": false,
|
||||
"ITS@@mini": false,
|
||||
"ITS@@notion": false,
|
||||
"ITS@@its-d": false
|
||||
}
|
||||
165
RPG/.obsidian/plugins/obsidian-style-settings/main.js
vendored
Normal file
10
RPG/.obsidian/plugins/obsidian-style-settings/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-style-settings",
|
||||
"name": "Style Settings",
|
||||
"version": "1.0.9",
|
||||
"minAppVersion": "0.11.5",
|
||||
"description": "Offers controls for adjusting theme, plugin, and snippet CSS variables.",
|
||||
"author": "mgmeyers",
|
||||
"authorUrl": "https://github.com/mgmeyers/obsidian-style-settings",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
243
RPG/.obsidian/plugins/obsidian-style-settings/styles.css
vendored
Normal file
7
RPG/.obsidian/plugins/oz-clear-unused-images/data.json
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"deleteOption": ".trash",
|
||||
"logsModal": true,
|
||||
"excludedFolders": "",
|
||||
"ribbonIcon": true,
|
||||
"excludeSubfolders": false
|
||||
}
|
||||
4
RPG/.obsidian/plugins/oz-clear-unused-images/main.js
vendored
Normal file
11
RPG/.obsidian/plugins/oz-clear-unused-images/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"id": "oz-clear-unused-images",
|
||||
"name": "Clear Unused Images",
|
||||
"version": "1.1.1",
|
||||
"minAppVersion": "0.11.13",
|
||||
"description": "Clear the images that you are not using anymore in your markdown notes to save space.",
|
||||
"author": "Ozan",
|
||||
"authorUrl": "https://www.ozan.pl",
|
||||
"fundingUrl": "https://ko-fi.com/ozante",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
10
RPG/.obsidian/plugins/oz-clear-unused-images/styles.css
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
.unused-images-logs {
|
||||
margin-bottom: 13px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.unused-images-center-wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
17
RPG/.obsidian/snippets/quest-journal-fontsize.css
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/* ==========================================================================
|
||||
Quest Journal – größere Grundschrift
|
||||
Wert (20px) nach Belieben anpassen (z. B. 18px oder 22px).
|
||||
========================================================================== */
|
||||
.markdown-source-view,
|
||||
.markdown-preview-view {
|
||||
font-size: 20px !important;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Dokumentenbaum (Datei-Explorer) – größere Schrift
|
||||
Wert (18px) nach Belieben anpassen.
|
||||
========================================================================== */
|
||||
.nav-file-title,
|
||||
.nav-folder-title {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
11
RPG/.obsidian/snippets/quest-journal-kontrast.css
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/* ==========================================================================
|
||||
Quest Journal – besserer Kontrast im Dunkelmodus („Ancient Leather“)
|
||||
Deutlich hellerer Text auf dunkelbraunem Grund.
|
||||
Werte nach Belieben anpassen.
|
||||
========================================================================== */
|
||||
body.theme-dark {
|
||||
--text-normal: #efe7d3; /* Grundtext: fast weiß, deutlich heller */
|
||||
--text-muted: #c4b69e; /* abgeschwächter Text (Metadata, Links …) */
|
||||
--text-faint: #9c8f79; /* dezentester Text */
|
||||
--text-navbar: #c4b69e; /* Datei-Explorer (Dokumentenbaum) */
|
||||
}
|
||||
7
RPG/.obsidian/themes/AnuPpuccin/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"name": "AnuPpuccin",
|
||||
"version": "1.5.0",
|
||||
"minAppVersion": "1.6.0",
|
||||
"author": "Anubis",
|
||||
"authorUrl": "https://github.com/AnubisNekhet"
|
||||
}
|
||||
9080
RPG/.obsidian/themes/AnuPpuccin/theme.css
vendored
Normal file
6
RPG/.obsidian/themes/Dune/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "Dune",
|
||||
"version": "2.5.67",
|
||||
"minAppVersion": "1.7.0",
|
||||
"author": "joval"
|
||||
}
|
||||
8572
RPG/.obsidian/themes/Dune/theme.css
vendored
Normal file
7
RPG/.obsidian/themes/ITS Theme/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"name": "ITS Theme",
|
||||
"version": "1.4.06",
|
||||
"minAppVersion": "0.16.0",
|
||||
"author": "SlRvb",
|
||||
"authorUrl": "https://github.com/SlRvb"
|
||||
}
|
||||
14844
RPG/.obsidian/themes/ITS Theme/theme.css
vendored
Normal file
9
RPG/.obsidian/themes/QuestJournal/manifest.json
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name": "Quest Journal",
|
||||
"version": "1.0.0",
|
||||
"minAppVersion": "1.0.0",
|
||||
"author": "Jack Lockwood",
|
||||
"authorUrl": "",
|
||||
"fundingUrl": "",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||