fluidd-core / fluidd

Fluidd, the klipper UI.
https://docs.fluidd.xyz
GNU General Public License v3.0
1.39k stars 424 forks source link

feat: view rendered Markdown files #1376

Closed pedrolamas closed 7 months ago

pedrolamas commented 7 months ago

Allows viewing of rendered Markdown (.md and .markdown) files.

Context menu for Markdown files

image

Markdown viewer desktop

image

Markdown viewer mobile

image

Resolves #656

matmen commented 7 months ago

We could also render pre-formatted codeblocks as full width: image

:deep(pre>code) {
  display: block;
  margin-bottom: 1em;
}
pedrolamas commented 7 months ago

Those are great suggestions!

I went ahead and applied the margin-bottom: 1em; to all elements inside the markdown container, I think it looks a lot better now (I updated the screenshots on the top).