Created attachment 142759 [details] Example of wrong rendering and expected rendering SUMMARY The markdown for fence-block-code is not rendered correctly STEPS TO REPRODUCE 1. write the following code in a demo.md document * per OGNI sito in cui si vuole https spostare la parte di definizione nel vhost:443 e mettere nel vhost:80 ``` <VirtualHost *:80> ServerName **SERVERNAME** <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.* RewriteRule ^/?(.*) https://**SERVERNAME**/$1 [L,R,NE] </IfModule> <IfModule !mod_rewrite.c> Redirect permanent / https://**SERVERNAME**/ </IfModule> </VirtualHost> ``` 2. Open the document in okular (repo package from kubuntu 20.04) OBSERVED RESULT The block is rendered as an inline string (top of the attached image) EXPECTED RESULT The block should be rendered as a code block (bottom of the attached image) SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 20.04 vanilla (available in About System) KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 ADDITIONAL INFORMATION Okular Backend Markdown version 0.1.0 by Julian Wolff Kernel: 5.11.0-38-generic 64bit Processor: 12xcore i7-10750H CPU @ 2.6 GHz RAM: 31.1 GiB
Please attach the .md file you're using to test this.
Created attachment 142778 [details] File to trigger the bug(?) The demo file. It is enough to add the new line before ``` to make it rendered correctly.
I think it's a rather discount problem (?), not the okular one.
(In reply to Yuri Chornoivan from comment #2) > Created attachment 142778 [details] > File to trigger the bug(?) > > The demo file. It is enough to add the new line before ``` to make it > rendered correctly. You are perfectly right. Sorry for my misunderstanding of the correct syntax to write markdowns. I used Retext to write the md file. I read somewhere that MD is not "strict" about compliance so what is working in one editor is not garanteed to work in a different viewer. This "bug" can be closed for my side. Thank you very much for your time and patience.