Chromodynamics icon indicating copy to clipboard operation
Chromodynamics copied to clipboard

Markdown not supported (.md)

Open html5cat opened this issue 8 years ago • 5 comments

😿

html5cat avatar Jun 30 '16 18:06 html5cat

What would it take to support Markdown on this theme? I love the theme in VSCode for Python, but it makes editing Markdown awful.

joshtemple avatar Aug 14 '20 20:08 joshtemple

Should be very easy to fix by adding the necessary scopes to the theme, e.g markup.heading.markdown, etc.

elprans avatar Aug 14 '20 21:08 elprans

Would that go in Chromodynamics.color-theme.json or somewhere else?

joshtemple avatar Aug 14 '20 22:08 joshtemple

Yes. There.

elprans avatar Aug 14 '20 22:08 elprans

In VSCode, I've added very rudimentary Markdown support by putting this in my global settings.json

    "editor.tokenColorCustomizations": {
        "[Chromodynamics]": {
            "textMateRules": [
                {
                    "scope": "markup.heading.markdown",
                    "settings": { "foreground": "#e8364f" },
                }, {
                    "scope": "markup.inline.raw.string.markdown",
                    "settings": { "foreground": "#7c9f57" },
                }, {
                    "scope": "markup.italic.markdown",
                    "settings": { "foreground": "#d3c970", "fontStyle": "italic" },
                }, {
                    "scope": "markup.bold.markdown",
                    "settings": { "foreground": "#d3c970", "fontStyle": "bold" },
                }
            ]
        }
    },

But it would be nice to have full Markdown support included in the theme.

andy-preston avatar Mar 02 '24 12:03 andy-preston