Sublime Forum

Markdoc association with Markdown

#1

Hi
I’m using Mardok with Astro. In the Astro docs is recommended to associate markdoc files (.mdoc) with markdown (.md) files so the editor (vscode) recognizes markdoc as markdown:

// .vscode/settings.json
{
** “files.associations”: {**
"*.mdoc": "markdown"
** }**
}

How can I do this associations in Sublime?

Thanks!

Markdoc is a Markdown-based syntax and toolchain for creating custom documentation sites. Stripe created Markdoc to power our public docs.

0 Likes

#2
  1. Open a .mdoc file
  2. From the main menu select View > Syntax > Open all with current extension as… > Markdown > Markdown
2 Likes

#3

Thank you so much for helping me with this one, this was so easy that I am a little embarrassed for asking for help :slight_smile: You are very kind, thank you again.

0 Likes