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

Configuration: adding header, title, legend, caption, footer #61

Closed
MarcoEidinger opened this issue Jan 26, 2023 · 1 comment · Fixed by #62
Closed

Configuration: adding header, title, legend, caption, footer #61

MarcoEidinger opened this issue Jan 26, 2023 · 1 comment · Fixed by #62
Labels
enhancement New feature or request

Comments

@MarcoEidinger
Copy link
Owner

In the .swiftplantuml.yml configuration file it would be helpful to add one or more of the following command commands:

  • header
  • title
  • legend
  • caption
  • footer

Example visualization

SVG

Example PlantUML script

@startuml
header
<u>Simple</u> header example
on <i>several</i> lines and using <font color=red>html</font>
end header

title
<u>Simple</u> title example
on <i>several</i> lines and using <font color=red>html</font>
end title

caption
<u>Simple</u> caption example
on <i>several</i> lines and using <font color=red>html</font>
end caption

footer
<u>Simple</u> footer example
on <i>several</i> lines and using <font color=red>html</font>
end footer

legend
<u>Simple</u> legend example
on <i>several</i> lines and using <font color=red>html</font>
end legend

class Class1 {}
class Class2 {}

Class1 -- Class2
@enduml
@MarcoEidinger MarcoEidinger added the enhancement New feature or request label Jan 26, 2023
MarcoEidinger added a commit that referenced this issue Jan 27, 2023
…oter) (#62)

* ✨ feat: support descriptive texts (header, title, legend, caption, footer) (closes #61)

closes #61

* ♻️ refactor: scheme for better auto-completion
@MarcoEidinger
Copy link
Owner Author

Example to specify a title in .swiftplantuml.yml

texts:
  title: |
    <u>Formatted</u> title example
    on <i>several</i> lines and using <font color=red>html</font>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant