New issue
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
{:target="_blank"} in front of every link provided in the contributing.md #625
Comments
I tried the following, but I'm not able to get the required output.Can @crweiner help me out with this issue? |
It's simply impossible in Github's Markdown. However, the website does use the |
So, shall I remove the |
No! Because that'd remove the ability for it to open a new tab in the website! x3 |
Hello @Mou-Ikkai and @zahyaah! 👋 @Mou-Ikkai is correct. GitHub-flavored markdown does not use any Why is this not something you may have noticed in previous versions of the Swag List? The Swag List used to be built upon Jekyll and the URLs were re-written (replaced) to include the To the best of my knowledge, MkDocs and the Material theme required adding the attribute list extensions for Python Markdown and following the Python Markdown spec. Also, see here for further discussion. TL;DR: It's correct the way it is, due to differences in how markdown is parsed between GitHub.com's rendering and MkDocs. Consider viewing anything in the /docs folder as "raw" markdown, and what's on the live site as the way it's intended to look. Until there is an elegant solution to this in MkDocs, such as a plugin that'll re-write the URLs when the site is built, it'll have to look like this for now. 🤷 Very good question, @zahyaah! I hope this answers it. And thank you very much to @Mou-Ikkai for jumping in to help! 🥇 Hope you all continue to have a great Hacktoberfest! 🎃 |
@crweiner Thank you so much for explaining me : ) |
Hello again @zahyaah and @Mou-Ikkai! I just added a new Python extension to the repo that'll automatically add the So, now the .md files in this repo are much easier to read, as GitHub will not leave in the Keep in mind that GitHub still won't actually open any links in new tabs, but now you wont see an ugly So much cleaner now here on GitHub and your IDE of choice! 😄 Let me know if you have any questions! |
When clicked on the any of the links, it should open up in a new tab.
The text was updated successfully, but these errors were encountered: