Skip to content

How to exclude HEX color codes from tags #510

@irmod

Description

@irmod

@damionx7, I really like your Zettel Notes app! It opens very quickly, and the search is fast and easy. And, finally, it's simply beautiful 💖💖💖!

I'd like you to consider making some adjustments to the display of hexadecimal colors like "#3949AB" and "#FF3949AB"

  1. Insert a non-breaking space between the code and the color wheel to avoid a line break between the color designation and its example

How_to_exclude_HEX_color_codes_from_tags_01.jpg

Name Zero Width Space
Unicode number U+00A0
HTML-code \ 
CSS-code \00A0
Mnemonics \ 
Block General Punctuation
Unicode version: 1.1 (1993)
  1. You might agree that the color example is more appropriately displayed after the code. In my opinion, the code is the semantic part, while the color example is the explanatory part. We can see this placement of the color example after the code on GitHub, in browser developer tools and in coding environments

How_to_exclude_HEX_color_codes_from_tags_02.jpg

  1. Sometimes you just want to write text starting with the # symbol without turning it into a hashtag. Some apps (Obsidian, Bear) support the \ character, which allows you to include special characters in your text without triggering Markdown formatting rules and other text styles. I would expect to be able to exclude the hex color code from hashtags by escaping the character "#3949AB" \#3949AB ("#FF3949AB" \#FF3949AB).
    In the current version of Zettel Notes, you must remember to place the hex color code in some "code" block. But if you load a page from a browser using "Sharing webpages" that contains a lot of hex numbers, cleaning it up is very difficult...

How_to_exclude_HEX_color_codes_from_tags_03.jpg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions