Disable caption generated with html inclusion

MrC's Avatar

MrC

22 Jan, 2019 08:30 PM

I have an HTML snippet I include:

<<{docs/auto/usage-help}

Marked 2's seems to auto-generate a caption above this (pre-formatted code block) HTML inclusion.

How can I disable this?

<!-- marked 2: include [.../docs/auto/usage-help]{.../docs/auto/usage-help} -->

<p class="mkcaption">docs/auto/usage-help</p>
  1. Support Staff 1 Posted by Brett on 22 Jan, 2019 08:38 PM

    Brett's Avatar

    Good question. Appears to be a bug in the raw include function, I'll
    need to add it to my bug list for the next update. No immediate
    workaround I can offer.

    -Brett

  2. Support Staff 2 Posted by Brett on 22 Jan, 2019 08:45 PM

    Brett's Avatar

    Just as an update, I've tracked this down and will have the fix out when
    the next update goes live.

    Thanks,
    Brett

  3. 3 Posted by Mike Cappella on 24 Jan, 2019 04:05 AM

    Mike Cappella's Avatar

    Thanks.

    It's easy enough for me to override for now with Additional CSS:

        #wrapper p.mkcaption { display: none; }

    :-)

  4. Support Staff 4 Posted by Brett on 24 Jan, 2019 12:46 PM

    Brett's Avatar

    Smart :)

    Thanks,
    Brett

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