jtokoph / ghosttext-vscode

Use the new official extension: https://marketplace.visualstudio.com/items?itemName=fregante.ghost-text
https://marketplace.visualstudio.com/items?itemName=fregante.ghost-text
28 stars 11 forks source link

feature request - option so set a different extension (.md instead of .tmp) #9

Closed aisbergde closed 4 years ago

aisbergde commented 4 years ago

I want to use the markdown preview feature of the "Markdown all in one" plugin, but it looks that the preview is only working in files with the file extension .md It would be fine to find a way to use GhostText for MarkDown content together with Markdown preview. For example by an option to change the default extension from ".tmp" to ".md"

I will also try to use the plugin with extension .tmp, Maybe I can find a way.

aisbergde commented 4 years ago

in VS Code it is possible to configure file extensions settings.json

    "files.associations": {
        "*.tmp": "markdown"
    },
fregante commented 4 years ago

Thank you for posting that here!

fregante commented 1 year ago

This is now possible in the official extension https://github.com/jtokoph/ghosttext-vscode/issues/13 both manual and automatic selection.

Screenshot