Ability to add mathematical formulas in features description #3070
malekadrar
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now I don't think that we can add mathematical formulas in features description. For example, it's not possible to get this:
The solution I found is very simple which I would like to share with you, using MathJax. To do so, I've add the following new file math.ftl under serenity-core\serenity-report-resources\src\main\resources\freemarker\libraries directory and here is his content:
And I only included it in the file requirements.ftl under serenity-core\serenity-report-resources\src\main\resources\freemarker directory like this:
and compiled the library.
After that it's possible to use the LaTeX language. For instance, to get the above result, here is the feature description:
Of course it's possible to combine MathJax with the Markdown.
Beta Was this translation helpful? Give feedback.
All reactions