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

Classifier Style Problem with <frame> Visual #213

Closed
dsidesfb opened this issue Oct 23, 2023 · 3 comments
Closed

Classifier Style Problem with <frame> Visual #213

dsidesfb opened this issue Oct 23, 2023 · 3 comments

Comments

@dsidesfb
Copy link

Maybe related to #166 though this does not have any numbers involved in the classifier style...

The visual=frame is not working in a classifier style:

#frameex: visual=frame
[Example Frame with Classifier Style|Note 1|Note 2]
[Example Frame|Note 1|Note 2]

image

Enjoying using nomnoml every week. Thank you!

@skanaar
Copy link
Owner

skanaar commented Oct 25, 2023

The custom classifier styles must be prefixed with a ..

Try this:
#.frameex: visual=frame title=left

It make me happy that you enjoy nomnoml ! 😄

@dsidesfb
Copy link
Author

Woops! 😳 Thank you.

Would it be straight-forward or desirable to have the parser flag any directive that is not recognized as an error?

@skanaar
Copy link
Owner

skanaar commented Oct 25, 2023

The directives are not really handled by the "real" parser, but it is a good idea to display parsing errors for them as well.

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

2 participants