Commit Graph
100 Commits
Author SHA1 Message Date
David Bolack d20c9c502c Merge branch 'issue_2994_css_style' of github.com:dbolacksn/homebrewery-broken into issue_2994_css_style 2024-06-01 00:35:39 -05:00
David Bolack 8c5e68e571 Merge branch 'master' into issue_2994_css_style 2024-06-01 00:34:43 -05:00
David Bolack fbe65a4e93 Resolve indentation errors in TOC Generation, adjust partCover class
This fixes an error in the recusion that was failing to add children under existing parents.
Index generation now does not overindent when levels are skipped.
PartCover less code as suggesred by CC.
2024-06-01 00:32:25 -05:00
David Bolack 3875dabfd2 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-05-31 23:32:39 -05:00
David Bolack fc22e6cd53 Smidge of documentation 2024-05-22 23:17:22 -05:00
David Bolack 62ed026757 Hopeflly final class renaming sessions. 2024-05-22 21:25:10 -05:00
David Bolack 7cef4316d7 Flag Table of Contents as "Experimental" 2024-05-22 21:04:32 -05:00
David Bolack 0df53daa4c Another attempt at clearer classnames for the Table of contents snippet 2024-05-22 17:25:52 -05:00
David Bolack b496ef3597 Remove completely redundant checks for class based exclusion from ToC Snippet 2024-05-22 16:34:00 -05:00
David Bolack 3ae5d4c1e3 Slight reworking of style naming for Table of Contents
Also uses :is operator for cleaner? looking CSS

Lastly, removes {{partCover}} from automatic exclusion.
2024-05-22 16:30:12 -05:00
David Bolack d9d4d74b71 Add CR wrappers around addTOC snippet insertions. 2024-05-22 12:44:19 -05:00
David Bolack af82d71e4f Merge branch 'master' into issue_2994_css_style 2024-05-22 11:52:43 -05:00
David Bolack f897cbfdf4 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-05-22 11:51:45 -05:00
David Bolack 1773e77cb9 Fix missed issues with converting to delightfully recursive function 2024-05-22 11:47:12 -05:00
David Bolack 511c9ffada Merge branch 'master' into issue_2994_css_style 2024-05-20 14:51:19 -05:00
David Bolack ea03538552 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-05-20 13:33:20 -05:00
David Bolack afb5ccec81 Slight Rearrange of ToC theme names and menu
Reorders ToC inclusion options with slight relabel for clarity.
Changes assumptions on H4, H5, and H6 snippets to assume H1-H3 class should be explicitly stated.

change naming of addToToCH# to tocH#

more explicitly define .addToC to h1 to h3 changes for --TOC var.
2024-05-12 12:00:55 -05:00
David Bolack c0beae6e46 Remove redundant class declaration for ToC 2024-05-12 11:49:30 -05:00
David Bolack 9c6ece3e7f Merge branch 'master' into issue_2994_css_style 2024-05-12 11:37:51 -05:00
David Bolack 5494c02f00 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-05-12 10:23:14 -05:00
David Bolack 9d6076f642 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-05-06 11:59:20 -05:00
David Bolack b86502aec7 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-04-30 21:35:29 -05:00
David Bolack 2a148cb138 Update Menus and standardize CSS Names
Update addh4, addh5, addh6 class names to addToCH4, addToCH5, addToCH6
Update menu items for Table of contents with better labels and addToC
2024-04-20 21:53:02 -05:00
David Bolack 9426c6acd9 Merge branch 'issue_2994_css_style' of github.com:dbolacksn/homebrewery-broken into issue_2994_css_style 2024-04-20 21:48:13 -05:00
David Bolack 90ce48b170 Adapt Recursive Toc function from 3254 2024-04-20 21:46:32 -05:00
David Bolack 448af683a0 Merge branch 'master' into issue_2994_css_style 2024-04-20 21:36:42 -05:00
David Bolack ec5f8254f1 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-04-20 19:12:29 -05:00
David Bolack 7690fb9287 Return .addToC for inline mustaches 2024-03-26 09:39:15 -05:00
David Bolack 2e54520b32 Merge branch 'master' into issue_2994_css_style 2024-03-25 19:39:01 -05:00
David Bolack cdf5b29ac2 Remove !important from toc.h4/h5/h6 --TOC 2024-03-25 19:38:26 -05:00
David Bolack 733b929940 Integrate code recursion from 3254. 2024-03-25 19:36:30 -05:00
David Bolack 211fe48e29 Attempt to block H4-h6 from existing ToCs from showing up in a new ToC. 2024-03-25 19:06:38 -05:00
David Bolack 9d3f7fe556 Fix H3-H6 entries in ToC generation 2024-03-25 18:58:29 -05:00
David Bolack 5d87508d0e Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-03-25 18:09:43 -05:00
David Bolack 40d0e7e90e Trim space off of ToC entries. 2024-03-25 16:32:03 -05:00
David Bolack 7ca10ff5a4 Add requested additions to code
Add snippet additions to handle Add h4, Add h4-h5, add h4-h6
Add collection of headers h4-h6 and rendering of h4 to h6.
2024-03-25 16:13:07 -05:00
dbolacksn 6a03be9d64 Merge branch 'master' into issue_2994_css_style 2024-03-23 18:53:52 -05:00
David Bolack 9848e4b600 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-03-23 05:59:29 -05:00
David Bolack f0a8020189 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-03-19 19:18:43 -05:00
David Bolack d6aa0138f0 Merge branch 'Extended_DD' of github.com:dbolacksn/homebrewery-broken into Extended_DD 2024-03-09 19:42:34 -06:00
David Bolack f3b17f4615 Fix bad merge 2024-03-09 19:40:54 -06:00
David Bolack 04e6f2ea58 Merge branch 'master' into Extended_DD 2024-03-09 19:37:57 -06:00
David Bolack ed6718eef1 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-03-09 19:37:31 -06:00
David Bolack cd537f98c7 Merge branch 'master' into Extended_DD 2024-03-06 23:41:42 -06:00
David Bolack 8ab91c3eb2 Merge branch 'master' of github.com:dbolacksn/homebrewery-broken 2024-03-06 23:39:12 -06:00
David Bolack 8c773ced9c Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-03-06 23:38:44 -06:00
dbolacksn 4f4b43f49d Merge branch 'naturalcrit:master' into master 2024-03-05 13:56:23 -06:00
David Bolack a957ea37f6 Merge branch 'issue_2994_css_style' of github.com:dbolacksn/homebrewery-broken into issue_2994_css_style 2024-03-04 16:38:50 -06:00
David Bolack a4d426bc00 Merge branch 'master' into issue_2994_css_style 2024-03-04 16:38:00 -06:00
David Bolack 15f95ddd44 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-03-04 16:33:15 -06:00
David Bolack 7f16da110f Merge branch 'master' into Extended_DD 2024-03-04 11:01:49 -06:00
David Bolack 3734c9e71d Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-03-04 09:21:09 -06:00
David Bolack 05f88dfd00 Extended Definition List cleanup
Remove redundant inlineBlock extension
Add missing trim on multiline definitions
Fix editor regex for colon terminated terms.
2024-02-25 09:19:31 -06:00
David Bolack d1d28acebb Merge branch 'master' into Extended_DD 2024-02-25 09:15:27 -06:00
David Bolack 84d5b26530 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-02-25 08:34:37 -06:00
David Bolack bf874c55af Add a column break before the Tables header on page 2
Small formatting fix.
2024-02-23 14:46:13 -06:00
David Bolack 7d755fe2a3 Fix syntax highlighting on sub and superscript
I did not test this very robustly, it seems.
2024-02-23 11:35:57 -06:00
David Bolack 67b11d62ea Small DD appending mode fix 2024-02-08 19:35:43 -06:00
David Bolack 2b81c26cff Working, but ugly 2024-02-08 19:23:33 -06:00
David Bolack f3148ed53c Fix Syntax Highlighting
Update changelog to match PR target shifts.
2024-02-07 20:23:19 -06:00
David Bolack 13fbcd0eb1 Improve Regex to permit DTs with a final : 2024-02-06 23:29:59 -06:00
David Bolack 3ee9fe1c3f Update tests.
Prune no lionger valid cases.
2024-02-06 22:13:44 -06:00
David Bolack 703e207970 I think I have all the desired modes in place.
I feel like this is ugly code and maybe there are prettier ways to do
it, but it functions as I *believe* is currently desired.
2024-02-06 21:47:15 -06:00
David Bolack 283c2b5ae1 Empty Tag multiline input 2024-02-05 21:18:36 -06:00
David Bolack 29dc1e0747 Merge branch 'master' into Extended_DD 2024-01-30 18:40:58 -06:00
David Bolack 265e9976b9 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-30 18:40:42 -06:00
David Bolack e1ad05eb3a Solve regression with monster template.
Was not handling "weak" Definition list endings well ( places were it
was \n<something> instead of \n\n.
2024-01-29 23:42:13 -06:00
David Bolack 75c41f4466 Merge branch 'issue_2994_css_style' of github.com:dbolacksn/homebrewery-broken into issue_2994_css_style 2024-01-29 20:18:01 -06:00
David Bolack 85caf0a892 Add fixes to account for no page numbers
Clear out manual toggles.
2024-01-29 20:14:52 -06:00
David Bolack 692205b0e6 Merge branch 'master' into issue_2994_css_style 2024-01-29 20:03:24 -06:00
David Bolack e4324f316d Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-29 20:03:03 -06:00
David Bolack 8ab273363c Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-26 09:52:42 -06:00
David Bolack 54921a998a Clone tags along with the rest of the brew 2024-01-25 19:51:03 -06:00
David Bolack 0163e22567 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-25 13:58:04 -06:00
David Bolack fbc164a9b8 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-25 13:10:08 -06:00
David Bolack b8ee696b69 Add manual exclusion classes for ToC exclusion. 2024-01-24 15:42:22 -06:00
David Bolack 26c4b1afa6 Add toggle-on classes. 2024-01-21 08:58:14 -06:00
David Bolack 622827efda Fix Exclusion examination 2024-01-20 20:47:27 -06:00
David Bolack 854c21639a CSS based ToC exclusion system
either I am building the lookup incorrectly or Chrome is not letting me
see variables via computedStyles.
2024-01-20 11:58:17 -06:00
David Bolack 8fc6047127 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-19 19:01:39 -06:00
David Bolack faba9f1616 Merge branch 'master' into Extended_DD 2024-01-18 22:59:22 -06:00
David Bolack 6beee49ebc Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-18 22:58:58 -06:00
David Bolack 0c010a0a87 Revert "WIP"
This reverts commit 67a4391dcb.
2024-01-18 09:51:17 -06:00
David Bolack 0c6c9fce4d Revert "Simple Underline token."
This reverts commit 04187cf769.
2024-01-18 09:51:14 -06:00
David Bolack ac9fc720f7 Revert "A better regex for underlining."
This reverts commit a88b256b6c.
2024-01-18 09:51:11 -06:00
David Bolack 8b31966c2b Revert "Remove stray console.logs."
This reverts commit 1861c7db69.
2024-01-18 09:51:07 -06:00
David Bolack 8bd8f0fc37 Merge remote-tracking branch 'origin/master' 2024-01-17 17:20:23 -06:00
David Bolack c747c5577e Add PANdoc style lists ( using :: not : )
Includes new tests and fixes broken old tests
2024-01-16 02:01:55 -06:00
David Bolack ce8cbba441 Merge branch 'master' into Extended_DD 2024-01-16 00:29:29 -06:00
David Bolack c0cabbb563 Move Credits snippet to Blank 2024-01-15 21:35:19 -06:00
David Bolack d09dc11f5f The remainder of the tests 2024-01-14 13:38:01 -06:00
David Bolack 4c2211c428 Updated rendering to follow input line breaks
Updated and additional tests.
2024-01-14 13:30:52 -06:00
David Bolack d076d6c719 Update tests for previous changes. 2024-01-13 18:58:59 -06:00
David Bolack 20b76bdead Fix issue when pattern matches a DD without DT
```
Test
::One
```

WOuld previously break the browser.
2024-01-13 11:55:43 -06:00
David Bolack 993ae295af Update editor pattern match for DLs 2024-01-07 15:40:05 -06:00
David Bolack 96d973528c Updated and reworked to handle more definition*
Updated to allow multiple definition terms and definitions per term

<Term>::<definition>
<Term>::<definition1>::<definition2>
::<definition3>

```
**Example** ::
::V3 uses HTML *definition lists* to create "lists" with hanging indents.
::Three
I'm a term::Four

**<u>Hello</u>**::I\'m a different
::List
:
```
2023-12-20 22:57:37 -06:00
David Bolack 1861c7db69 Remove stray console.logs. 2023-12-13 21:59:02 -06:00
David Bolack a88b256b6c A better regex for underlining. 2023-12-13 21:47:55 -06:00
David Bolack 04187cf769 Simple Underline token.
Overrides __
2023-12-13 17:37:05 -06:00
David Bolack 67a4391dcb WIP 2023-12-13 15:57:00 -06:00