Table not rendering at all
Hi. I have an iThoughts mind map that I'm previewing with Marked2. On this map, there is a md table that used to render nicely, but now it stopped.
Could you please advise?
Node o iThoughts:
Column1 | Columns2 |
---|---|
Value1 | Value1 |
Value2 | Value2 |
Rendering on Marked2 attached.
Raw in Marked2:
- | Column1 | Columns2 |
| ——- | ——– |
| Value1 | Value1 |
| Value2 | Value2 |
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 10 Oct, 2022 01:07 PM
Is it possible this node got indented a level or you changed you settings as to what constituted a list item? I would be curious what the Markdown export of iThoughts showed you.
-Brett
2 Posted by jmbenedetto on 11 Oct, 2022 04:44 PM
Hello, Brett. Thanks for your answer. I moved the node around in iThoughts, but nothing changed in Marked. I even created a new itmz file, with only a subset of the original mind map. Nothing. I exported from iThoughs as markdown, and the table was recognized. I noted now that the same happened when I pasted the table on this topic.
Support Staff 3 Posted by Brett on 11 Oct, 2022 04:57 PM
Playing with the test file I'm not sure how this ever worked for you. The Marked/iThoughts integration handles multi-line nodes by indenting them as paragraphs, which will probably always break a table. You can, however, add the table as a note on the node and it should render for you. You can also add a line in the node before the table followed by an empty line (ctrl-return) and then the table will render. The problem exists when the table breaks across the first line and the following lines.
-Brett
4 Posted by jmbenedetto on 12 Oct, 2022 09:43 PM
Thanks once again, Brett.
I couldn’t make it work with the empty lines, but the note solution worked for me. Thanks a lot!