-
Notifications
You must be signed in to change notification settings - Fork 65
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
expose firstTimeLong
to project settings
#536
base: main
Are you sure you want to change the base?
expose firstTimeLong
to project settings
#536
Conversation
@rowanc1 while working on this I was struggeling a bit with
|
Thanks @jan-david-fischbach!! @fwkoch do you think you could take a look at this and help get it in? My first thought is that we should have a configuration for MyST parsing, configuration etc. maybe a stand-alone Most of our frontmatter at the moment is around author/attribution etc. and we don't have any on configuration of the CLI/parser itself yet. I think this (maybe) needs a bit of thought to establish a new pattern for these sorts of things. |
Hi @rowanc1, thanks for taking care. I also thought that the way I solved it now might not be the ideal "workflow" for new options. Maybe we could establish a front matter field pluginOptions (or similar) where either an unvalidated list of options can be included, that can voluntarily be considered by plugins etc. Or a "per plugin" configuration, that is validated according to a validator provided by the plugin. |
Yeah, I really like that idea, where you can pass options for transforms/plugins and that allows other people to extend this in the future. This level of extensibility has been a common request in plugins:
abbreviations:
firstTimeLong: true
dollarmath: false
tasklist: false Where each config corresponds to some sort of plugin, which in the future will hopefully be a bit better defined, but right now are basically the |
Would that also involve a standardized way to define new roles/directives? Roles always only have one input, correct? |
Thanks for the PR! New roles and directives are defined declaratively (you can see a bunch of examples in the I'd like to give a bit more thought to how these plugins might work, in the context of this PR - I'll try to get some coherent feedback to you next week. |
Hey @fwkoch, |
@jan-david-fischbach I have started to implement Sorry for the slow movement on this -- I was on paternity leave and @fwkoch was picking up the slack from my day-job! I am coming back online, so hoping to start moving on these PRs again. |
To be able to use
firstTimeLong
in MyST projects...