Skip to content

Commit 79971d6

Browse files
committed
Documentation fix (#226)
1 parent 66dcf1e commit 79971d6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/interactive_svg_diagrams.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ elements simply add this to your `.clang-uml` file:
1717
```yaml
1818
generate_links:
1919
link: 'https://github.com/myorg/myrepo/blob/{{ git.commit }}/{{ element.source.path }}#L{{ element.source.line }}'
20-
tooltip: '{% if "comment" in element %}{{ abbrv(trim(replace(element.comment, "\n+", " ")), 256) }}{% else %}{{ element.name }}{% endif %}'
20+
tooltip: '{% if "comment" in element %}{{ abbrv(trim(replace(element.comment.formatted, "\n+", " ")), 256) }}{% else %}{{ element.name }}{% endif %}'
2121
```
2222
23-
You can open example diagram [here](https://raw.githubusercontent.com/bkryza/clang-uml/master/docs/test_cases/t00014_class.svg) to see how it works in action.
23+
You can open example diagram [here](https://raw.githubusercontent.com/bkryza/clang-uml/master/docs/test_cases/t00014_class.svg) to see how it works in action.
24+
25+
Full documentation on how to use the [inja](https://github.com/pantor/inja)
26+
template engine in `clang-uml` configuration files can be found
27+
[here](./jinja_templates.md).

0 commit comments

Comments
 (0)