0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-25 11:52:39 +00:00
Commit Graph

321 Commits

Author SHA1 Message Date
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
Trevor Buckner
2dc874daba Adjust hotkeys to match other changes 2023-12-04 22:21:58 -05:00
Trevor Buckner
38fa428fde Change to 1 and 2 ^'s . Slight cleanup 2023-12-04 22:11:05 -05:00
Louis David Bolack
8d94e5fbe0 Update shared/naturalcrit/markdown.js
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2023-11-10 23:10:01 -06:00
Louis David Bolack
c6d8bbae16 Update shared/naturalcrit/markdown.js
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2023-11-10 23:09:49 -06:00
David Bolack
7b9a23670d Update Regex based on PR siuggestions.
This should match more economically and in line with marked
recomendations as well as not allow whitespace ( \s ) at the beginning
or end of a sub or superscript mark. Additionally, a failure in having
mixed sub and supers on the same line was corrected.
2023-11-09 21:31:08 -06:00
David Bolack
d43ea46e40 Add subscript and subscript markdown tokens
Uses ^^ for superscript and ^^^ subscript as wrappers in the same
pattern as italics and bold ( * and **, respectively)

Adds editor hot-keys and sytax highlighting. (CTRL-6/CTRL-7)

Exact values may not be ideal. Short of the suggestted overloading of ~,
I didn't see a better option for the delimiter.
2023-11-08 00:54:43 -06:00
David Bolack
f1ca6eeee2 Near complete 2023-11-08 00:49:39 -06:00
David Bolack
d390d518a3 Initial commit, subscripts and superscripts 2023-11-07 22:42:53 -06:00
G.Ambatte
6d93291d5b Merge branch 'master' into addEditorThemes-#362 2023-08-24 14:09:59 +12:00
G.Ambatte
b6e11ba607 Move e.preventDefault to after isDragging check 2023-08-19 15:01:16 +12:00
G.Ambatte
99ad96a584 Merge branch 'master' into addEditorThemes-#362 2023-08-05 14:22:31 +12:00
Gazook89
8d3329069a remove logs 2023-08-01 14:16:31 -05:00
Gazook89
2e13eed2ef revert moving pointerMove & pointerUp, now on splitPane 2023-08-01 13:53:38 -05:00
Gazook89
310faa449d set editor font size to 16px on touchscreens
iOS requires minimum 16px font to prevent auto-zooming into input fields.
2023-08-01 13:29:57 -05:00
Gazook89
0bde336226 move all pointer events to divider, not splitPane 2023-07-31 22:20:27 -05:00
Gazook89
73e44b8d7a add touch-action css property to splitPane 2023-07-31 15:06:09 -05:00
Gazook89
a8db7353b0 preventDefaults on pointerEvents to prevent some default behavior. 2023-07-30 20:49:16 -05:00
Gazook89
bda8037cd6 change onMouse events to onPointer events for mobile use. 2023-07-30 20:12:16 -05:00
G.Ambatte
cf3635bccc Merge branch 'master' into addEditorThemes-#362 2023-07-11 07:38:13 +12:00
Trevor Buckner
bd0ef5da48 Merge pull request #2406 from G-Ambatte/addStyleSanitization-#1437
Add sanitization of Style content
2023-07-08 02:23:56 -04:00
Trevor Buckner
69a3d04bb7 Merge branch 'master' into pr/2417 2023-07-08 01:11:45 -04:00
Trevor Buckner
48474c6f7b Simplify dropdown & convert to Functional Component 2023-07-07 20:38:56 -04:00
G.Ambatte
aadf663623 Add scrollbar on dropdowns 2023-06-30 07:57:33 +12:00
G.Ambatte
3cb5e8ed42 Initial functionality pass 2023-06-29 21:59:42 +12:00
G.Ambatte
661872f332 Merge branch 'master' into addEditorThemes-#362 2023-06-23 09:44:18 +12:00
G.Ambatte
46cb2e6b5b Merge branch 'master' into addStyleSanitization-#1437 2023-06-23 09:44:05 +12:00
G.Ambatte
e7224e97ef Merge branch 'master' into addSmartPageBreak-#2289 2023-06-23 09:43:24 +12:00
Trevor Buckner
b33b3cd49b extract smartypants into package 2023-06-22 14:31:14 -04:00
G.Ambatte
b472fc1115 Move script tag sanitization to BrewRenderer 2023-06-17 20:25:15 +12:00
G.Ambatte
7681be2e9c Merge branch 'master' into addEditorThemes-#362 2023-06-10 14:25:23 +12:00
G.Ambatte
d2b2e69123 Shift Footer generation to snippet 2023-06-03 13:30:32 +12:00
G.Ambatte
e6ad8aefde Lint fix 2023-06-03 12:18:22 +12:00
G.Ambatte
43ae80e80d Merge branch 'master' into addSmartPageBreak-#2289 2023-06-03 12:16:18 +12:00
Trevor Buckner
942fdb8095 Replace SmartyPants plugin with custom 2023-06-02 17:02:45 -04:00
Trevor Buckner
2c73e59eb0 Remove deprecated options 2023-05-31 11:14:57 -04:00
Trevor Buckner
ca34ca499d Remove duplicate tabs 2023-05-22 22:40:18 -04:00
Trevor Buckner
288b407e3e Turn off smartIndent 2023-05-20 01:32:07 -04:00
Trevor Buckner
57eea5c69f Custom function to use spaces for indent 2023-05-20 01:24:36 -04:00
G.Ambatte
3c168065ee Merge branch 'master' into addEditorThemes-#362 2023-04-16 07:13:39 +12:00
Trevor Buckner
29fd836965 Lift whole navbar z-index up instead of one section. 2023-04-10 11:31:11 -04:00
Trevor Buckner
8b8388391c Shorten logic 2023-04-10 10:45:30 -04:00
G.Ambatte
4ddee3c2f1 Remove z-index to fix UserPage bug 2023-04-10 10:17:15 +12:00
G.Ambatte
89ba709789 Merge branch 'master' into addMetadataToShare-#1679 2023-04-08 17:14:39 +12:00
G.Ambatte
c666d6acb9 Merge branch 'master' into addEditorThemes-#362 2023-04-05 07:45:03 +12:00
Trevor Buckner
48227eaf71 Remove Console.log and lint 2023-04-04 12:18:57 -04:00
G.Ambatte
b2546d908a Shift CSS link to CodeEditor render 2023-04-02 13:19:43 +12:00
G.Ambatte
7dd1368c09 Add editorTheme to editor.jsx and downstream 2023-04-02 12:53:26 +12:00
G.Ambatte
435eec6e74 Merge branch 'master' into addMetadataToShare-#1679 2023-03-30 20:14:59 +13:00