Feature request: rendering <details><summary> blocks
vi opened this issue · 2 comments
vi commented
Github and some other markdown support
foldable sections
, which expand on clickRetext does not seem to render them properly in preview. There is seems to be no button to insert them easily, at least in ReText 8.0.0.
mitya57 commented
The default previewer is based on QTextEdit, which supports only a subset of HTML.
If you want to use advanced HTML features, you can use ‘Edit → Use WebEngine (Chromium) renderer’ (first install PyQt6-WebEngine). With that renderer, the details
tag works fine:
mitya57 commented
As for support in Markdown, there is a third-party extension for this: https://facelessuser.github.io/pymdown-extensions/extensions/details/.
But as it is not part of standard Markdown syntax, there is no button for it.