Open Hsins opened 2 years ago
PR https://github.com/hackmdio/codimd/pull/1750 is dealing with this issue.
Hi @Hsins, Thanks for the help! Could you open a PR for this modification? We like to merge this fix which also convert to lowercase before regex replace.
As shown in the figure screenshot from Create a New Site Page on the right-hand side.
The unique Disqus URL could be combined of :
abcdefghijklmnopqrstuvwxyz
0123456789
-
CodiMD handles the Disqus section in the disqus.ejs. But it doesn't work for shortnames containing dash character, and it doesn't handle shortnames with uppercase letters currently.
It would be better to modify it as following code: