silverbullet/plugs/markdown
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
..
assets Inject custom styles and theme into markdown preview pane (#741) 2024-02-23 09:01:38 +01:00
test deno fmt 2023-01-22 18:53:14 +01:00
api.ts More JSR (#1027) 2024-08-06 20:11:38 +02:00
html_render.test.ts More JSR dependency moves 2024-07-30 17:24:17 +02:00
html_render.ts lint cleanup 2024-07-30 15:17:34 +02:00
markdown.plug.yaml First iteration of new take on sharing 2024-02-28 12:16:51 +01:00
markdown.ts More JSR (#1027) 2024-08-06 20:11:38 +02:00
markdown_render.test.ts Fix tests for windows paths (#1153) 2024-11-13 21:08:24 +01:00
markdown_render.ts Update how tags are rendered to allow for custom styling (#1179) 2024-12-14 09:57:46 +01:00
preview.ts Export PDF through print. (#1065) 2024-08-28 17:32:29 +02:00
util.ts More JSR (#1027) 2024-08-06 20:11:38 +02:00