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
I was looking through the tests and I saw that there are tests for multiple classes written like this: {.foo .bar}. That seems to work! The haskell implementation supports {.foo.bar} but the JS one does not. Is that syntax intended to be supported? If not, can we update the documentation to give an example of multiple classes? I had assumed they would be combined like .foo.bar since that is how you would specify multiple classes together in CSS selectors.
The intent was to require a space, but this is something to think about. Note that pandoc -f markdown treats {.foo.bar} as a single class foo.bar, djot.js fails to parse this as an attribute at all, and pandoc -f djot treats it as two classes.
Similar questions could be raised about things like .foo#baz and key=val#baz.
produces
as expected. But if I add a second class:
It produces text instead of classes:
It looks like the documentation says multiple classes should be allowed in this way.
The text was updated successfully, but these errors were encountered: