having "//path.path" as plain text messes up next markdown syntax

Mike Beard's Avatar

Mike Beard

24 Jul, 2020 10:28 PM

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&#39;s easy to fix, as it is the &quot;//&quot; that causes the problem.  Interestingly, if you remove the &quot;o&quot; from the &quot;//m.lo&quot;, 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>
  1. 1 Posted by Mike Beard on 24 Jul, 2020 10:33 PM

    Mike Beard's Avatar

    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.

    ====================
    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  
    ====================
    

    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

  2. Support Staff 2 Posted by Brett on 25 Jul, 2020 01:06 PM

    Brett's Avatar

    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. 3 Posted by Mike Beard on 25 Jul, 2020 08:06 PM

    Mike Beard's Avatar

    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!

  4. Support Staff 4 Posted by Brett on 25 Jul, 2020 08:10 PM

    Brett's Avatar

    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. 5 Posted by Mike Beard on 30 Jul, 2020 01:15 AM

    Mike Beard's Avatar

    Thanks Bret!

    An option to turn it on/off would be interesting.

    Thanks for the awesome product! You guys rock!

    -Mike

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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