Skip to content

Commit

Permalink
Fix for monster blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ambatte committed Dec 5, 2023
1 parent c3a2dff commit 72cc8ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bookmarklet.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ if(location.href=='https://homebrewery.naturalcrit.com/new'){
{term: "======", text: "\\page"},
{term: "\\\\columnbreak", text: "\\column"},
{term: "(?:\\n)(>[\\s\\S]*?)(?:[^ ][^ ]\\n[^>])", text: "{{note\n$1\n}}\n", flags: "gi"},
{term: "(?:\\n)(___\\n{{note\\n)", text: "{{monster,frame\n", flags: "gi"},
{term: "(?:\\n)(___\\n{{monster,frame\\n)", text: "{{monster,frame,wide\n", flags: "gi"},
{term: "(___[\\r\\n]+{{note)", text: "{{monster,frame", flags: "gi"},
{term: "(___[\\r\\n]+{{monster,frame)", text: "{{monster,frame,wide", flags: "gi"},
{term: "^>\\s*?-\\s*", text: ""},
{term: "^(>\\s*)", text: ""},
{term: "^(\\*\\*.+\\*\\*)(.*)", text: "$1 :: $2"},
Expand All @@ -22,6 +22,6 @@ if(location.href=='https://homebrewery.naturalcrit.com/new'){
localStorage.setItem('homebrewery-new', outputText);
localStorage.setItem('homebrewery-new-style', '.page {\n font-size: 0.317cm;\n padding: 1cm 1.7cm 1.5cm;\n}');
localStorage.setItem('homebrewery-new-meta','{"renderer":"V3"}');
location.reload();
location.reload();
};
})();

0 comments on commit 72cc8ca

Please sign in to comment.