-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: variables and glossary #865
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
niceee
one behavior I noticed is that <<
breaks the page
example/Form.tsx
Outdated
console.log(params); | ||
return params; | ||
}); | ||
|
||
navigate(event.target.value); | ||
console.log(event.target.value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
title: 'Variable Tests' | ||
category: 5fdf9fc9c2a7ef443e937315 | ||
hidden: true | ||
--- | ||
<<defvar>> and `<<defvar>>` and: | ||
|
||
<Variable variable="defvar" /> and `<Variable variable="defvar" />` and: | ||
|
||
``` | ||
<<defvar>> | ||
<Variable variable="defvar" /> | ||
``` | ||
|
||
and | ||
|
||
```js | ||
const xyz = "<<defvar>>"; | ||
const xyz = "<Variable variable="defvar" />"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also add an example for <GlossaryItem />
to this?
Yea, not sure what to do with parsing errors yet. I do not want to support the old syntax since it causes a parsing error, that just sounds like a bad time. |
I'm going to merge this, but if you have any other reviews please let me know! |
This PR was released!🚀 Changes included in v6.75.0-beta.27 |
🧰 Changes
Supports Variables and GlossaryItems!
Ok, so this PR only has a small 🤏 code change for those components. We just have to format the correct jsx in the editor for this to work, I think.
This PR does
flavored-*
to*
yaml
from the top of the doc🧬 QA & Testing