You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a directive, setting an option_spec to directiveOptions.flag will result in the result being null if the flag is set. This is strange, as the flag is truthy.
Passing this onto mdast currently requires, for example,
Ideally the value coming out of this library is truthy for a "flag". It would also be great to have the flag be able to be set with a "true" in the markup.
```{dropdown}
:open: true
```
Currently this gets parsed into a directive error, see #42.
The text was updated successfully, but these errors were encountered:
In a directive, setting an
option_spec
todirectiveOptions.flag
will result in the result beingnull
if the flag is set. This is strange, as the flag is truthy.Passing this onto mdast currently requires, for example,
Ideally the value coming out of this library is truthy for a "flag". It would also be great to have the flag be able to be set with a "true" in the markup.
Currently this gets parsed into a directive error, see #42.
The text was updated successfully, but these errors were encountered: