-
Notifications
You must be signed in to change notification settings - Fork 36
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
Include more flexmark extensions for improved markdown to html rendering #121
Comments
@UBessle thanks for the issue! Looking at the functionalities of the available Flexmark plugins, I really like this idea! We'll have to think about how to make adding and configuring Flexmark plugins dynamic, as opposed to hardcoded. Ideally, I would like this to be configurable using a
I'm not sure how hard or easy it would be to implement this. Any ideas? |
I'm totally with you, that adding and configuring Flexmark plugins should be dynamically if somehow possible. But i would advise against the idea, to include the neccessary configuration info in the structurizr DSL workspace. I would prefer having a commandline parameter Alternatively / additionally a commandline parameter could point to a configuration file site-generator.properties
I'm not sure if i woul prefer having the simple properties file format or support for json / yaml files |
Maybe you're right. The reason for my idea of using workspace-level properties is that Simon Brown also uses properties on the workspace, views and model elements to customize the generation of diagrams. See https://github.com/structurizr/export/tree/main/src/main/java/com/structurizr/export/plantuml. However, I'm not sure if I like that approach. I think that a separate configuration file may indeed be a better approach, also because I think that JSON or YAML may be better suitable for this kind of configuration. |
May we help you somehow in producing this improvement? |
Sure! Feel free to create a pull request if you have a good idea for implementing this feature. |
I'm not an experienced Kotlin developer. Could you please provide a small section in the README.md how to participate in development?
|
Yup, I've learnt (the hard way) that many people using the Structurizr toolset are "architects" rather than developers, some with a very limited technical background. It's for this reason I tend to err on the side of opinionated simplicity. 😂 |
But architects ARE developers... right...? 😉 But I understand your choice. Architects come in many shapes and forms and have very different backgrounds. Creating something like this for such a diverse group of users is hard. For this tool, I think we should lean towards sensible defaults resulting in something that's usable for lots of people "out of the box", and some optional configurability for "advanced" users. |
@UBessle That's a good idea. I'm a bit busy lately, but I'll try to add a |
@UBessle I've added |
Thanks for the CONTRIBUTING description. I was absent last week. Hopefully i can start working on the PR next week. |
I've finally took some time to document the |
Just my 2c ... I can see properties named |
Yeah, I agree. |
Already proposed as part of #206 |
Thanks for your feedback, @simonbrowndotje! I completely agree that using the |
I'm closing this issue, as the requested feature is now built and merged to |
we would like to move our architecture documentation from Confluence pages to structurizr models, and markdown files using your excellent tool structurizr-site-generatr.
Unfortunately currently we miss some possibilities to achieve this goal in a satisfactory way. The main drawback is, that confluence provides much more formatting possibilities, than the basic markdown support from flexmark inside of structurizr-site-generatr.
We've looked into flexmark and it looks, as nearly everything would be possible with flexmark as well, if we could use some of the numerous existing flexmark extensions. But currently structurizr-site-generatr is restricted to be using tables extension only.
It would be great, if we could use at least the following extension additionally
It would be even better, if we could somehow control, which extensions are used and which options are set. Than we could later on decide, to use additional extensions as well, like
The text was updated successfully, but these errors were encountered: