EnMAP-Box / enmap-box

EnMAP-Box source code repository. See https://enmap-box.readthedocs.io for documentation
GNU General Public License v3.0
39 stars 16 forks source link

[changelog] fix collapsable section for issues #990

Closed janzandr closed 1 month ago

janzandr commented 1 month ago

image

janzandr commented 1 month ago

@jakimowb not sure if you are altering the original MD file. On GitHub and inside PyCharm, the changelog is rendered correctly. In the plugin manager and in the about widget, the collapsable sections look very odd.

janzandr commented 1 month ago

Alright, markdown code is not supported inside the details section by default. We need to use the markdown.extensions.md_in_html extension: html_output = markdown.markdown(markdown_content, extensions=['md_in_html']) Unfortunately, this is also not working (not sure why).

As a workaround, we could insert HTML code directly into the details section.

janzandr commented 1 month ago

When inserting HTML directly, it is still not rendering correctly: image

Should look like this: image

janzandr commented 1 month ago

I would propose to delete the details section in case of the about dialog,