sbarex / SourceCodeSyntaxHighlight

Quick Look extension for highlight source code files on macOS 10.15 and later.
GNU General Public License v3.0
3.02k stars 72 forks source link

.mdx not handled #273

Closed rrroyal closed 8 months ago

rrroyal commented 8 months ago

The .mdx (Markdown + JSX) file format isn't handled :/

mdls output:

$ mdls -name kMDItemContentType -name kMDItemContentTypeTree template.mdx
kMDItemContentType     = "dyn.ah62d4rv4ge8043d2"
kMDItemContentTypeTree = (
    "public.item",
    "dyn.ah62d4rv4ge8043d2",
    "public.data"
)
sbarex commented 8 months ago

This application intentionally does not support the markdown format. Normally for this file it is preferable to see the formatted version rather than the source code.

For the plain .md files you use my other app: https://github.com/sbarex/QLMarkdown

rrroyal commented 8 months ago

Yup, already using that - I guess I submitted this to the wrong repo, my bad. Would it be possible to implement .mdx to QLMarkdown instead?

sbarex commented 8 months ago

No, the current rendering engine of QLMarkdown do not support the mdx extension.