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

question- when is the 'type' argument required? #12

Open
danieleades opened this issue Feb 14, 2023 · 1 comment
Open

question- when is the 'type' argument required? #12

danieleades opened this issue Feb 14, 2023 · 1 comment

Comments

@danieleades
Copy link

looking through the README, the 'type' of the diagram is configured on the directive.
The diagrams also state that when using a diagram file, the 'type' can be inferred from the file extension
The readme contains a plantuml example- in that example the 'type' is not specified. Does this mean the diagram 'type' can also be inferred when using the inline syntax?

@danieleades
Copy link
Author

i see in the code, that if the file extension is not detected and the 'type' argument is not set, then a warning is fired.
I take it then that the example in your readme would not run as is?

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

1 participant