feat: added tags to post
This commit is contained in:
parent
55e67d1e27
commit
2f5bf48b42
2 changed files with 4 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ const isReleased = (post) => {
|
|||
}
|
||||
|
||||
const markdownItHashtag = (md) => {
|
||||
const hashtagRegex = /^#([a-zA-Z][a-zA-Z0-9_\\\\/]*)(?![a-zA-Z0-9_-])/;
|
||||
const hashtagRegex = /^#([a-zA-Z][a-zA-Z0-9_\\\\/\-]*)(?![a-zA-Z0-9_-])/;
|
||||
|
||||
const HASH_CODE = '#'.charCodeAt(0);
|
||||
const SPACE_CODE = ' '.charCodeAt(0);
|
||||
|
|
|
|||
|
|
@ -921,3 +921,5 @@ You can also use web tools that you can give a URL and it will clean it for you:
|
|||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
#privacy #tracking #surveillance #digital-rights #activism #data-collection #security
|
||||
Loading…
Add table
Add a link
Reference in a new issue