having "//path.path" as plain text messes up next markdown syntax
If you have something like the following in a Markdown file, the last image does not render correctly.
====================
text here
![Test #12345654321](http://s3.amazonaws.com/entp-tender-production/assets/1e9d1a51289bc90855aee08d3742817009f9ad2c/Marked-256.png)
other text here!
![test image as file](Marked2IconForTest.png)
//m.lo
![test image as file](Marked2IconForTest.png)
more text -- nothing will be shown from this line
====================
<pre><code>
I just did a screenshot/capture of the image from this support page and saved it to a PNG file. It's easy to fix, as it is the "//" that causes the problem. Interestingly, if you remove the "o" from the "//m.lo", it then renders correctly as well.
Thought you might like to know. It has been bothering me for awhile, so I tracked down exactly what I think it is.
Love the product! Keep up the great work!
Mike</code>
</pre>
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Mike Beard on 24 Jul, 2020 10:33 PM
Well, should have looked at that a little closer. Here it is with the correct markup. Sorry about that.
======= If you have something like the following in a Markdown file, the last image does not render correctly.
I just did a screenshot/capture of the image from this support page and saved it to a PNG file. It's easy to fix, as it is the "//"" that causes the problem. Interestingly, if you remove the "o" from the "//m.lo", it then renders correctly as well.
Thought you might like to know. It has been bothering me for awhile, so I tracked down exactly what I think it is.
Love the product! Keep up the great work!
Mike
Support Staff 2 Posted by Brett on 25 Jul, 2020 01:06 PM
Marked recognizes iA Writer block syntax for includes, which consists of
lines starting with `/` followed by a path to a file to include. It
appears that's not what you're trying to do, right? The easy solution if
it's actually supposed to be a visible path would be to surround it in
backticks and make it "code".
-Brett
3 Posted by Mike Beard on 25 Jul, 2020 08:06 PM
Correct, it was not what I was trying to do. I didn't realize that iA Writer had a block syntax for that. Good to know.
Yeah, once I figured out what the issue was, it was easy to correct. Just took awhile to figure out where/what it was, after it quit rendering mid-document. I didn't know why. So, good to know!
Thanks! I think that I'm good then!
Support Staff 4 Posted by Brett on 25 Jul, 2020 08:10 PM
I'm glad you pointed out the issue. I might make the block syntax
handling a preference to avoid it happening to people not interested in
it.
-Brett
5 Posted by Mike Beard on 30 Jul, 2020 01:15 AM
Thanks Bret!
An option to turn it on/off would be interesting.
Thanks for the awesome product! You guys rock!
-Mike