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

Scope for Initial Release #1

Open
rowanc1 opened this issue Oct 18, 2024 · 0 comments
Open

Scope for Initial Release #1

rowanc1 opened this issue Oct 18, 2024 · 0 comments

Comments

@rowanc1
Copy link
Member

rowanc1 commented Oct 18, 2024

The extension currently adds syntax that:

  • recognizes myst directive syntax
    • adds syntax for name, args and options
  • explores ways to bring hover information in (e.g. hover title)
  • code folding (just on colon fences for the first pass)
  • myst.yml hover information (based on redhats)

It is very hacky at the moment and mostly just exploring possibilities.

For the myst.yml, we should be publishing the schema somewhere (npm, also schemastore). That is probably a new repo that can be built from myst-frontmatter, but also needs to enable the various aliases, fallbacks, etc.

There is a new "language" introduced (myst) and that keys off of two extensions (.md and .myst). The .myst won't work until we add that into the CLI, but that is very simple.

This needs to be merged with the existing markdown spec (here) and then combined with all of the languages, using something like this.

There is some pre-existing work in here:

That would then allow people to switch between the "markdown" language and myst, even with the .md extension.

I would love to see good documentation support for directives, roles, and directive options. That means importing from myst-directives and using the docs (possibly looking at the myst.yml extensions in the future and loading those!).

Looking forward to working on this with @nokome over the coming weeks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant