Open card when following link
This commit is contained in:
parent
a8a21a58fb
commit
0b754bf7ae
3 changed files with 23 additions and 11 deletions
|
|
@ -1,2 +1,2 @@
|
|||
export const titleToFragment = (title: string): string =>
|
||||
encodeURIComponent(title.toLocaleLowerCase().replace(/\W+/g, '-'));
|
||||
'#' + encodeURIComponent(title.toLocaleLowerCase().replace(/\W+/g, '-'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue