Table of contents displayed behind document images
Problem
When I turn on the table of contents by pressing CMD-T or by clicking the icon in the status bar, the gray box containing the table of contents is displayed behind the images in the document. See the attached screenshot.
Steps to reproduce
- Create a markdown document with one or more image
- View the document in marked
- Scroll the document to have an image close to the status bar in the bottom of the window
- Turn on the table of contents
Desired behavior
When the table of contents is displayed, it should float above any images in the document.
-
marked-toc.png 62.3 KB
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
Support Staff 1 Posted by Brett on 02 Mar, 2012 02:51 PM
I'm not seeing this happen, at least on my current development version. Either I fixed it accidentally, or there's something unique going on.
Are you using a custom theme or processor at all? How are you inserting the images, and are there any elements wrapping them in your source?
2 Posted by wulff on 02 Mar, 2012 02:57 PM
I'm seeing this in all the default themes except the GitHub theme.
I'm not using any custom themes or processors.
Markdown source (between regular text paragraphs):
HTML source:
I forgot to mention the version number: I'm on Version 1.3.3 (191).
Support Staff 3 Posted by Brett on 02 Mar, 2012 03:20 PM
I'll add some double-insurance to the next version. I can't replicate this issue, but I can force the TOC as high as it will go :).
4 Posted by wulff on 02 Mar, 2012 03:23 PM
Sounds great!
Also, thanks for a lovely little piece of software :-)