hackjutsu / Lepton

💻 Democratizing Snippet Management (macOS/Win/Linux)
https://hackjutsu.com/Lepton
MIT License
10.13k stars 475 forks source link

HTML section in markdown is not supported #486

Open mightbxg opened 3 years ago

mightbxg commented 3 years ago

Hi,

I found that HTML sections in markdown are completely not rendered.

Environment info

Description of the problem / feature request / question:

See this gist. When I write some HTML codes in markdown:

collapsible section:  
<details><summary>Click to expand!</summary>
  Hi, there~
</details>

style is supported in vscode, but not on github:  
<span style="color:blue">I am blue</span>

GitHub page renders as:


collapsible section:

Click to expand! Hi, there~

style is supported in vscode, but not on github:
I am blue


The <details> block is fully supported by github and vscode, <span> block is supported by vscode, but github just ignores the style setting.

However, when I open this gist in Lepton, it looks like this:


2021-03-02_10-04


The HTML sections are completely not rendered.

If possible, provide a sample gist or screenshot:

If possible, provide the log files

For Lepton after v1.9.0, the path of the log file can be found at Command/Ctrl + ,