silverbullet/common/markdown_parser
TR Staake 2020e85a6f
Update how tags are rendered to allow for custom styling (#1179)
* Updated how tags are rendered to allow for custom styling via space-styles

* Wrapped the existing span for a tag with an anchor element <a> to
improve ux for screen readers
* Added data-tag-name attribute to tags so that given a tag `#my-tag` it
will have the attribute `data-tag-name="my-tag"` added to the new `<a>`
element wrapper allowing for end users to target tags for styling with a
css selector such as `.sb-hashtag[data-tag-name="my-tag"]{...}`

* Updated Docs
2024-12-14 09:57:46 +01:00
..
constants.ts Allow tags to start with a number and be escaped with angle brackets (#1116) 2024-10-20 12:39:58 +02:00
customtags.ts Add subscript and superscript (#879) 2024-06-07 08:21:16 +02:00
extended_task.ts Lint error removal 2024-07-30 17:33:33 +02:00
parse-expression.js Fixes #1101 (#1102) 2024-09-29 13:26:44 +02:00
parse-expression.terms.js Fixes #1101 (#1102) 2024-09-29 13:26:44 +02:00
parse-query.js Fixes #1101 (#1102) 2024-09-29 13:26:44 +02:00
parse-query.terms.js Fixes #1101 (#1102) 2024-09-29 13:26:44 +02:00
parse_tree.ts improve dependency management (#770) 2024-03-16 15:29:24 +01:00
parser.test.ts Fix trailing periods for naked URLs (#1175) 2024-12-14 09:19:25 +01:00
parser.ts Update how tags are rendered to allow for custom styling (#1179) 2024-12-14 09:57:46 +01:00
query.grammar Fixes #1101 (#1102) 2024-09-29 13:26:44 +02:00
table_parser.ts Lint error removal 2024-07-30 17:33:33 +02:00