Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
- s.src = 'https://<%= disqus.replace(/[^A-Za-z0-9]+/g, '') %>.disqus.com/embed.js'; + s.src = 'https://<%= disqus.toLowerCase().replace(/[^a-z0-9-]+/g, '') %>.disqus.com/embed.js';
The text was updated successfully, but these errors were encountered:
PR #1750 is dealing with this issue.
Hsins commentedMar 3, 2022
•
edited
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 :
abcdefghijklmnopqrstuvwxyz0123456789-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:
The text was updated successfully, but these errors were encountered: