Commit Graph
30 Commits
Author SHA1 Message Date
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 8fc6047127 Merge branch 'master' of github.com:naturalcrit/homebrewery 2024-01-19 19:01:39 -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 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
David Bolack 769f636db2 Small fix and test updates
Discovered that classes ( and possibly other splits could end up with an
empty/null member that still gets joined so I added a trim to the end of
all the joins in processStyleTags.

Added tests that SHOULD test for bloc-level and inline-span moustaches
with added attributes ( a=b )
2023-12-06 17:48:51 -06:00
David Bolack 688eca05e1 Update Regex pattern to be consistant. 2023-12-06 16:59:53 -06:00
David Bolack 4c48992331 Merge branch 'master' into Issue_1488 2023-12-06 16:56:43 -06:00
David Bolack fcb9a8cdc5 Update Editor highlighting to handle attribut assignments 2023-12-06 16:54:28 -06:00
David Bolack d6e63604ac Add tests 2023-11-22 13:29:37 -06:00
David Bolack c858c705d2 Complete mustache div updates for attr 2023-11-11 22:23:43 -06:00
David Bolack c068aca9ff Small tweaks to processStyle.
This changes the output on arbitrary outputs to always wrap the value in
quotes instead of only doing so on whitespaced values.
2023-11-11 15:47:27 -06:00
David Bolack fcdaef2445 Merge branch 'master' into Issue_1488 2023-11-11 15:08:11 -06:00
David Bolack 7b85995b4a Updated attribute assignment.
Wraps with quotes ( a="b and c" )

Still does not work on Mustache Divs. UNsure where the failure is at the
moment. Even regressed "a:b and c" pattern on those.
2023-11-10 00:28:25 -06:00
David Bolack 37593573ce Merge branch 'master' into Issue_1488 2023-11-09 21:52:44 -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
David Bolack 837306c9a7 Add tests for arbitrary attributes.
Also shifted around the adding of spaces for the attributes.
2023-11-07 19:07:58 -06:00
David Bolack c58c8777f1 Add arbitrary tag attr assign. in moustaches
This adds the ability to include attribute values for any element that
can be altered by a moustache.

Form:

```
{attribute=value}

example:

![homebrew mug](https://i.imgur.com/hMna6G0.png) {position:absolute,bottom:20px,left:130px,width:220px,a=b and c,g=h}
```

In order to permit spaces, the pattern matches for moustache code had to
remove the space character as a delimiter. I believe I have adequate
compensated.

This should solve #1488
2023-11-07 17:43:24 -06:00