Steps to reproduce
Create a numbered list. For each step include a code block. When you export to PDF, the ``` is visable in the exported PDF document.
I expect the markdown code to be hidden and only show the codeblock.
the code block is displayed, but so is the markdown triple backtick ```
Obsidian version: v1.2.8
Installer version: v1.2.7
Operating system: #20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 6 07:48:48 UTC 2023 6.2.0-20-generic
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 8
Plugins enabled: 7
1: Advanced Tables v0.18.1
2: Calendar v1.5.10
3: Dataview v0.5.55
4: Plugin Update Tracker v1.4.6
5: Text Generator v0.3.17
6: Imgur Plugin v2.2.1
7: Copy document as HTML v0.4.3
Please, attach a copy of the source document.
thank you I have attached the source document.
Obsidian pdf test document.md (2.3 KB)
the problem is not the export to pdf. The problem is in the reading view already. You are indenting the first line of you codeblocks.
There must have been something wrong with my original document. I noticed when I made the copy of the document from within Obsidian, it showed a tab in front of the ```.
The copy of the document did not have the tab and then the PDF rendered properly.
Removing the indents works in local tests:
Archive.zip (94.1 KB)
Sounds as though you have got it sorted out?
yes thank you. I noticed the indentation when I copied the file. Not sure why it wasn’t displayed in the original document. I will mark this as solved. Thanks for your help!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.