Opened 13 years ago
Closed 13 years ago
#1809 closed task (fixed)
Allow JavaScript in OMEdit html viewer
| Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.9.0 |
| Component: | OMEdit | Version: | |
| Keywords: | Cc: |
Description
The following code now works in OMEdit, which means you can easily write equations also in documentation.
<html>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
</script>
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are:
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
</html>
Change History (2)
comment:1 by , 13 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → accepted |
comment:2 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.

This was fixed in r12452