silverbullet/web/cm_plugins
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
..
admonition.ts Lint error removal 2024-07-30 17:33:33 +02:00
block.ts Fix some things with transclusions, and added a renderWidgets page decoration 2024-08-12 20:12:28 +02:00
block_quote.ts Lint error removal 2024-07-30 17:33:33 +02:00
clean.ts Update how tags are rendered to allow for custom styling (#1179) 2024-12-14 09:57:46 +01:00
code_copy.ts Migration to Deno 2.0 2024-10-10 12:52:28 +02:00
command_link.ts Lint error removal 2024-07-30 17:33:33 +02:00
editor_paste.ts Fixes #680 all times and dates are now local (to the environment) 2024-08-18 13:04:51 +02:00
escapes.ts Lint error removal 2024-07-30 17:33:33 +02:00
fenced_code.ts Fix some things with transclusions, and added a renderWidgets page decoration 2024-08-12 20:12:28 +02:00
frontmatter.ts Lint error removal 2024-07-30 17:33:33 +02:00
hashtag.ts Update how tags are rendered to allow for custom styling (#1179) 2024-12-14 09:57:46 +01:00
hide_mark.ts Update how tags are rendered to allow for custom styling (#1179) 2024-12-14 09:57:46 +01:00
iframe_widget.ts Migration to Deno 2.0 2024-10-10 12:52:28 +02:00
inline_content.ts Migration to Deno 2.0 2024-10-10 12:52:28 +02:00
line_wrapper.ts Lint error removal 2024-07-30 17:33:33 +02:00
link.ts More JSR (#1027) 2024-08-06 20:11:38 +02:00
lint.ts Lint error removal 2024-07-30 17:33:33 +02:00
list.ts improve dependency management (#770) 2024-03-16 15:29:24 +01:00
lua_directive.ts Lua stack frame refactor 2024-10-20 15:06:23 +02:00
lua_widget.ts Widget: alt-click to move cursor into widget 2024-10-16 20:50:38 +02:00
markdown_widget.ts Widget: alt-click to move cursor into widget 2024-10-16 20:50:38 +02:00
smart_quotes.ts Space config for smart quotes (close #1114) (#1121) 2024-10-17 22:34:47 +02:00
table.ts Migration to Deno 2.0 2024-10-10 12:52:28 +02:00
task.ts Lint error removal 2024-07-30 17:33:33 +02:00
top_bottom_panels.ts Lint error removal 2024-07-30 17:33:33 +02:00
util.ts Migration to Deno 2.0 2024-10-10 12:52:28 +02:00
widget_util.ts Widget: alt-click to move cursor into widget 2024-10-16 20:50:38 +02:00
wiki_link.ts Fixes #1049 centralizes page URL encoding and decoding 2024-08-20 09:38:56 +02:00