-
Notifications
You must be signed in to change notification settings - Fork 51
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
markdown url tag fails when line is indented #835
Comments
You need to take out the extra space at the end: The docs mention this: Sorry for the trouble, but it parses it if the space isn't there, then it can't show the example in the docs. |
Sorry, I copied directly from that help file, but in my code, I actually did take out the space. You can confirm it's working (without the space)? |
Here is an example: On the docs page for templates, the docs are using the url tag.
|
It seems as though I just had my parenthesis and square brackets wrong. Thanks for the help! |
ah, I see the issue why it wasn't working -- indenting within the markdown file breaks the url tag from being processed |
Currently we don't do it when the line is indented because we can't easily tell if the line is in a code block or not (since code blocks in markdown are indented lines. I'm not sure if we will be able to really fix it and allow it to be ignored in code blocks... but maybe that doesn't really matter if it parsed in code blocks. |
Yea, I'm not sure how to disambiguate a code block versus indent. The python markdown library supposedly implements it as indents though, which is why I was confused it wasn't working as expected:
|
Attempting to use a
url
tag in markdown doesn't actually render the URL or static file into HTML, it just displays whatever was entered, including the url tag. Am I missing something?[url('/content/pages/archive.md') ]
https://github.com/grow/grow.io/blob/master/content/docs/markdown-extensions.md#url
The text was updated successfully, but these errors were encountered: