Add math into preview

This commit is contained in:
Yusur 2022-05-29 17:44:52 +02:00
parent f50511759b
commit c4e7c65ab2
2 changed files with 40 additions and 7 deletions

View file

@ -54,6 +54,11 @@
<input type="submit" value="Save" id="save-button" class="submit-primary">
<input type="submit" name="preview" value="Preview" id="preview-button" class="submit-secondary">
</div>
<h3>Advanced options</h3>
<div>
<input type="checkbox" id="CB__enablemath" name="enablemath" {% if math_version and pl_enablemath %}checked=""{% elif not math_version %}disabled=""{% endif %}>
<label for="CB__enablemath">Enable math expressions parsing {% if not math_version %}(disabled for this instance){% endif %}</label>
</div>
</form>
{% endblock %}