Disable HTML comments before and after file transclusion

davidjohnmacdonald's Avatar

davidjohnmacdonald

19 Aug, 2018 06:54 PM

If this is covered elsewhere on the forum, I apologize for not finding it. I may not be searching the right thing.

Is it possible to disable the comments that are added when rendering to HTML with MMD file transclusion? The CMS that I'm using (Blackboard) is adding empty paragraphs each time it sees back-to-back comment lines, such as

<!-- end include [/Users/david/Dropbox/WSU Theory Curriculum/inc/attendance.md] -->  
<!-- include [/Users/david/Dropbox/WSU Theory Curriculum/inc/grade-scale.md]{/Users/david/Dropbox/WSU Theory Curriculum/inc/grade-scale.md} -->  
<pre><code></code>
</pre>
  1. 1 Posted by davidjohnmacdon... on 19 Aug, 2018 06:56 PM

    davidjohnmacdonald's Avatar

    Those pre and code tags don't show up in the export. There's something weird with the Markdown renderer here on the forum (either that, or I am not formatting my code block correctly).

  2. Support Staff 2 Posted by Brett on 20 Aug, 2018 10:55 AM

    Brett's Avatar

    Yep, I've fixed it for the next update.

    Thanks,
    Brett

  3. 3 Posted by davidjohnmacdon... on 21 Aug, 2018 11:23 AM

    davidjohnmacdonald's Avatar

    Excellent, thanks! Also, if it matters, I have a license, but I'm using the Setapp version.

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