Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Definitive "document mode" #1045

Open
Lemmingh opened this issue Nov 19, 2021 · 3 comments
Open

Definitive "document mode" #1045

Lemmingh opened this issue Nov 19, 2021 · 3 comments
Labels
Issue: Epic Mega thread (plan) which may involve features, bugs, and tasks.
Milestone

Comments

@Lemmingh
Copy link
Collaborator

Background

Here are two stories.

Internal disorder is blocking new features and bug fixes

I tried to draft a "plugin system" (substantially a huge architecture change) earlier this year, but couldn't make any progress due to mismatches between components.

The "plugin system" was intended to fix some bugs discussed in:

We still have to deal with different Markdown flavors

Although we declare our focus on CommonMark and GFM, the reality of Markdown is wild. There are so many syntax extensions on major platforms that we cannot simply ignore them.

Examples:

Proposal

A new setting, probably called "document mode" (document.mode), governing many other settings.

Let's begin with:

{
    "markdown.extension.document.mode": {
        "type": "string",
        "default": "github",
        "markdownDescription": "Lock other settings to meet a specific platform. If you need to change each setting individually, please use `vscode`. See the [docs](https://markdown-all-in-one.github.io/docs/guide/document-mode.html) for details.",
        "enum": [
            "github",
            "commonmark",
            "gitlab",
            "vscode"
        ],
        "enumDescriptions": [
            "GitHub",
            "CommonMark",
            "GitLab",
            "Visual Studio Code"
        ]
    }
}
@Lemmingh Lemmingh added the Issue: Epic Mega thread (plan) which may involve features, bugs, and tasks. label Nov 19, 2021
@Lemmingh Lemmingh added this to the v3.7.0 milestone Nov 19, 2021
@yzhang-gh
Copy link
Owner

Looks like a set pre-defined profiles.

Lock other settings to meet a specific platform. If you need to change each setting individually, please use vscode. See the docs for details.

Then it could be custom.

@Lemmingh
Copy link
Collaborator Author

We can also contribute to the language status indicator (microsoft/vscode#129037) eventually.

@Lemmingh
Copy link
Collaborator Author

Lemmingh commented Jul 3, 2022

Additional context:

Looks like we initially talked about the concept "definitive setting" at #962 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Epic Mega thread (plan) which may involve features, bugs, and tasks.
Projects
None yet
Development

No branches or pull requests

2 participants