David Bolack
3388fccad7
Merge branch 'master' into Issue_241_Part_II
2024-09-15 18:11:38 -05:00
David Bolack
dbe56abb24
Merge branch 'master' of github.com:naturalcrit/homebrewery
2024-09-15 17:50:14 -05:00
David Bolack
84d237e792
Revert "Add Pagella face to Blank Template."
...
This reverts commit 7d298565f9 .
2024-09-10 20:50:47 -05:00
David Bolack
7d298565f9
Add Pagella face to Blank Template.
...
Pagella is a TeX update of the URW Palladio L face that is a good substitute for the commonly used Book Antiqua and Palatino faces.
https://en.wikipedia.org/wiki/Palatino#:~:text=The%20first%20legal%20free%20version,on%20URW%20Palladio%20L%20font .
2024-09-10 20:44:42 -05:00
David Bolack
8fa5eeb0ef
Merge branch 'master' into Issue_241_Part_II
2024-09-10 14:10:20 -05:00
David Bolack
3b4dd7dd61
Merge branch 'actualPageNumber' of github.com:dbolack-ab/homebrewery into actualPageNumber
2024-09-08 15:27:43 -05:00
David Bolack
4bc957159d
Move a couple of variables back out of the global space because that was bad.
2024-09-08 15:23:03 -05:00
David Bolack
1e9c7423c7
Fix "clicked on the toggle ring" crash with scroll lock.
...
The code was doing dom-climbing math based on clicking on the div contents but was attached to the div. Moved the onClick to the contents.
2024-09-07 22:36:27 -05:00
David Bolack
fa74fb4ada
Update tooltips for locking.
2024-09-07 21:38:07 -05:00
David Bolack
7a37bf47c5
Bodge Render side mirroring back into place.
2024-09-07 21:33:51 -05:00
David Bolack
be70b9e67d
Regroup page numbering snippets, update icons
2024-09-07 20:50:18 -05:00
David Bolack
f7a5097dd8
Merge branch 'master' into skipCountingSnippet
2024-09-07 20:43:28 -05:00
David Bolack
758c2799a1
That was the wrong way. Lets try this ugly fix.
2024-09-07 20:40:29 -05:00
David Bolack
b0dffc6df1
Drop empty entries
2024-09-07 20:35:43 -05:00
David Bolack
6ea724bb16
Start skipping .skipCount in ToC
2024-09-07 20:30:16 -05:00
David Bolack
b58688bd62
Stop comparing lengths, dude.
2024-09-07 20:19:56 -05:00
David Bolack
0f8461ced6
Not a collection.
2024-09-07 20:16:16 -05:00
David Bolack
3b0028da69
Move some of thos variables back.
2024-09-07 20:12:05 -05:00
David Bolack
049b64cd41
Remove unneeded variable
2024-09-07 19:54:52 -05:00
David Bolack
8709772f51
Merge branch 'actualPageNumber' of github.com:dbolack-ab/homebrewery into actualPageNumber
2024-09-07 19:54:13 -05:00
David Bolack
dcc7a22272
First pass at code fixes.
...
Move functions out of function
Use querySelector instead of querySelectorAll
Flip skip and reset counter order.
2024-09-07 19:47:16 -05:00
David Bolack
92f963d798
Merge branch 'master' into actualPageNumber
2024-09-07 18:59:12 -05:00
David Bolack
88caa81baa
Merge branch 'master' into snippets-no-gen
2024-09-06 12:25:22 -05:00
David Bolack
4a1e4c1b80
Merge branch 'master' into actualPageNumber
2024-09-06 12:24:40 -05:00
David Bolack
cf4747553c
Merge branch 'master' into skipCountingSnippet
2024-09-06 12:23:46 -05:00
David Bolack
6f837980eb
All Snippet entries that have subsnippets but not generators.
2024-08-31 13:54:52 -05:00
David Bolack
82f2d0254f
Merge branch 'master' into Issue_241_Part_II
...
Clean up a small bit of linting in the pr related functions.
2024-08-31 11:11:22 -05:00
David Bolack
03f8fc83ee
Add snippets for page Numbering updates
...
Adds options to add skipCounting and ResetCounting classes
2024-08-28 21:33:32 -05:00
David Bolack
089dcb942b
Merge branch 'master' into actualPageNumber
2024-08-28 21:23:22 -05:00
David Bolack
a4f30d687d
Merge branch 'master' into Issue_241_Part_II
2024-08-28 21:17:10 -05:00
David Bolack
bda8be6ec1
Remove stray console.log
2024-08-28 20:54:50 -05:00
David Bolack
132a7d1f53
A temporary, imperfect fix for the jump hotkeys
2024-08-28 20:48:33 -05:00
David Bolack
f24e47785c
Merge branch 'master' into Issue_241_Part_II
2024-08-24 00:48:52 -05:00
David Bolack
e27e61aaca
Bind livescrolling when done via scrollbars.
2024-08-24 00:47:06 -05:00
David Bolack
1c03138968
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-21 21:23:09 -05:00
David Bolack
1313772adc
Merge branch 'master' into preservePREColons
2024-08-21 21:21:06 -05:00
David Bolack
695293333f
Fix merge
2024-08-21 21:19:10 -05:00
David Bolack
5431d3ed9b
Merge branch 'master' into Issue_241_Part_II
2024-08-21 21:03:26 -05:00
David Bolack
fc9821a6c4
Merge branch 'master' into actualPageNumber
2024-08-21 20:55:21 -05:00
David Bolack
925d934892
Merge branch 'master' into preservePREColons
2024-08-20 14:02:46 -05:00
David Bolack
e45bcf76ce
Merge branch 'master' into Issue_241
2024-08-20 13:49:02 -05:00
David Bolack
54d5dbf992
Pruning
2024-08-20 13:47:32 -05:00
David Bolack
bb18ed7eda
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-20 13:41:29 -05:00
David Bolack
fa63f1d4d5
Merge branch 'master' into Issue_241_Part_II
2024-08-20 13:38:47 -05:00
David Bolack
a6969a9ce2
Merge branch 'master' into actualPageNumber
2024-08-20 13:38:26 -05:00
David Bolack
ba340f033a
Merge branch 'master' into preservePREColons
2024-08-20 13:36:29 -05:00
David Bolack
cbcb712587
Merge branch 'master' into Issue_241
2024-08-20 13:34:47 -05:00
David Bolack
78c4061199
Merge branch 'master' into Issue_241_Part_II
2024-08-20 13:26:19 -05:00
David Bolack
1ad88c2fca
Merge branch 'master' into actualPageNumber
2024-08-20 13:25:24 -05:00
David Bolack
9203cc2a6a
Merge branch 'master' into preservePREColons
2024-08-20 13:24:24 -05:00
David Bolack
9e19ba2d4e
Merge branch 'master' into saveTheClones
2024-08-20 13:22:56 -05:00
David Bolack
a706c9ff9b
Merge branch 'master' into Issue_241
2024-08-20 13:22:25 -05:00
David Bolack
4957a0d2ef
Flip which arror is which.
2024-08-20 13:18:48 -05:00
David Bolack
727f2bd80e
use replaceState instead
2024-08-20 13:15:32 -05:00
David Bolack
e957f40775
Revert previous simplification as it breaks the original purpose of this PR
...
Added test for inside a code block.
2024-08-20 12:17:51 -05:00
David Bolack
3985afade9
Remove need for Definition exceptios
...
Retool original `:` break to insert `\n\n`s between each `:` so that
the definition lists never have a chance for a mismatch.
Rename token to "hardbreak"
Add tests for hardBreaks for `:`, `::`, and `:::` which should verify it works and does not collide with definitionlists.
2024-08-20 11:46:43 -05:00
David Bolack
67e868b5ee
Rewrite path oncomponant load for cloned brews to prevent losing active changes on the "new" document.
2024-08-19 20:35:23 -05:00
David Bolack
3a81521e6f
Work around users using Definition lists as paragraph indents.
2024-08-19 19:40:55 -05:00
David Bolack
a30608a8ae
Promote : paragraph breaks shortcut to a token.
2024-08-19 10:36:26 -05:00
David Bolack
184f182b3a
Short term fix for the colons in codeblocks issue.
2024-08-18 21:52:29 -05:00
David Bolack
51f758bf47
Rework page counters for skipping and resets.
...
Solves #513
This adds the .skipCounting and .resetCounting classes for causing
a page number to not be incremented or to reset the number at 1.
The ToC Snippet is corrected to match the displayed page numbers
while correctly tracking the page ids.
2024-08-15 17:15:49 -05:00
David Bolack
17b22b8afe
Merge branch 'master' into Issue_241_Part_II
2024-08-15 09:41:03 -05:00
David Bolack
81a098b6cf
Merge branch 'master' into Issue_241
2024-08-15 09:40:23 -05:00
David Bolack
aa2fe3ef97
Merge branch 'master' into FalsePaths
2024-08-13 22:12:03 -05:00
David Bolack
52faa366ca
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-13 12:30:16 -05:00
David Bolack
2d781f02e3
Merge branch 'master' into Issue_241_Part_II
2024-08-13 12:26:29 -05:00
David Bolack
fc6930c868
Merge branch 'master' into Issue_241
2024-08-13 12:17:45 -05:00
David Bolack
1ed7e43db1
Implement G-Ambette's cleaner fix.
2024-08-13 12:09:45 -05:00
David Bolack
6ec51bf725
Revert "Prevent loading of undefined renderer or theme themebundle."
...
This reverts commit 136e877ee6 .
2024-08-13 12:09:26 -05:00
David Bolack
136e877ee6
Prevent loading of undefined renderer or theme themebundle.
2024-08-12 21:42:25 -05:00
David Bolack
0057e2b57e
Merge branch 'master' into Issue_241_Part_II
2024-08-02 15:53:03 -05:00
David Bolack
6f4604c8a9
Merge branch 'master' into Issue_241
2024-08-02 15:51:53 -05:00
David Bolack
13fa06ec1f
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-02 15:49:34 -05:00
David Bolack
d6bf2dec7e
Merge branch 'master' into CSSFolding
2024-08-02 15:27:04 -05:00
David Bolack
423a4a521a
Correct truncation when looking for data: in css folding
2024-08-02 15:25:41 -05:00
David Bolack
05d4d5b1ff
Revert "Correct truncation when looking for data: in css folding"
...
This reverts commit ad1e8d50d7 .
2024-08-02 15:25:10 -05:00
David Bolack
ad1e8d50d7
Correct truncation when looking for data: in css folding
2024-08-02 15:24:14 -05:00
David Bolack
c926f0de79
Resolve import matching suggestion.
2024-08-02 15:10:39 -05:00
David Bolack
129e18da0f
Merge branch 'master' into Issue_241
2024-08-01 11:04:52 -05:00
David Bolack
f10ef2bdb3
Merge branch 'master' into Issue_241_Part_II
2024-08-01 11:02:30 -05:00
David Bolack
342963dae6
Merge branch 'master' into Issue_2563
2024-08-01 10:33:34 -05:00
David Bolack
957b1ed9e7
Merge branch 'master' into CSSFolding
2024-08-01 10:09:56 -05:00
David Bolack
31b3bd1ace
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-01 09:25:30 -05:00
David Bolack
29bbf3fef9
Merge branch 'master' into Issue_2563
2024-07-30 10:59:43 -05:00
David Bolack
a7f8b52966
Change default value for pageNumber on markdopwn.render()
2024-07-30 08:56:06 -05:00
David Bolack
6629bc64d8
Merge branch 'Issue_1430_Unique_HeaderIDs' of github.com:dbolack-ab/homebrewery into Issue_1430_Unique_HeaderIDs
2024-07-30 08:36:47 -05:00
David Bolack
bfd46fb6fd
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-07-30 08:35:12 -05:00
David Bolack
b34027699f
Move livescrollToggle function out into a class method instead of an anonymous function.
...
Adjust code accordingly ( event.target vs document.getElementByClassname )
2024-07-30 03:09:25 -05:00
David Bolack
dcdc8b4943
Remove Livescrolling toggle hot-key.
2024-07-30 02:41:03 -05:00
David Bolack
184462616f
Merge branch 'master' into Issue_241_Part_II
2024-07-30 02:31:14 -05:00
David Bolack
2d335ef7fc
Merge branch 'master' into Issue_241
2024-07-30 02:30:57 -05:00
David Bolack
d2afa7adea
Move fetchThemeBundle into /shared/helpers
...
This might not be the best rework - I was unsure if the *this* that would be available when called would see the appropriate object so I assumed not and pass it as a parameter.
Works, but may be bad form.
2024-07-23 22:17:52 -05:00
David Bolack
d640ad6bb7
Update Node version for Docker
2024-07-22 19:13:38 -05:00
David Bolack
2af2ad629d
Try to account for situations where the URL folding is past the max length for the truncation so the user can see why this is a fold.
...
Remove missed debug messages.
2024-07-21 12:58:21 -05:00
David Bolack
2fc7aa454f
Add data: URL folding for CSS.
...
Regex might need tweaking to catch all cases, but it catches the basics.
2024-07-21 12:40:49 -05:00
David Bolack
fde797c044
Rename prevLine to activeLine for better reading clarity.
2024-07-20 21:51:03 -05:00
David Bolack
6693fb1c13
reduce redundant trim()s
2024-07-20 21:40:22 -05:00
David Bolack
2c4f3473e5
Trim the trailing { on a CSS fold.
2024-07-20 00:43:02 -05:00
David Bolack
c82b62f953
Add Code folding on CSS style tab
2024-07-19 16:03:44 -05:00
David Bolack
ade819c70c
A not so light rework.
...
This removes the existing endpoints and replaces them with /theme.
/theme/:id - return a theme bundle containing all styling from this USER theme and any parents.
/theme/:engine/:id - return a theme bundle containing all styling from this STATIC theme and any parents
The theme bundle returns a marshalled JSON object containing:
styles - an array of strings representing the collected styles in loading order
snippets - an array ( currently empty ) of collected snippets.
The various bits of theme rendering code for <style> an style <link> have been swapped out with an 'onDidMount' call that loads the thendpoint and appends a series of <style> blocks to the brewRender's head.
This loses some caching advantages, but probably won't matter in the long run.
2024-07-13 12:12:05 -05:00