mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-26 22:33:56 +01:00
16 lines
675 B
HTML
16 lines
675 B
HTML
|
<span class="jsonly">
|
||
|
{{ if .IsNamedParams }} <!-- display mode, wrap eqn with $$ $$-->
|
||
|
$${{ .Get "display" }}$$
|
||
|
{{ else }} <!-- inline mode, wrap eqn with \( \)-->
|
||
|
\({{ .Get 0 }}\)
|
||
|
{{ end }}
|
||
|
</span>
|
||
|
<noscript>
|
||
|
{{ if .IsNamedParams }} <!-- display mode -->
|
||
|
<div style="text-align:center;">
|
||
|
<img src="https://latex.codecogs.com/gif.latex?{{ .Get "display" }}" title="{{ .Get "display" }}" />
|
||
|
</div>
|
||
|
{{ else }} <!-- inline mode -->
|
||
|
<img style="display:inline;vertical-align:middle;" src="https://latex.codecogs.com/gif.latex?\inline&space;{{ .Get 0 }}" title="{{ .Get 0 }}" />
|
||
|
{{ end }}
|
||
|
</noscript>
|