{% import "_includes/forms" as forms %} {% set name = craft.doxter.getName(true) %} {% set alias = craft.doxter.getName(false) %} {% set version = craft.doxter.getVersion() %} {% block content %}

{{ name }} V{{ version }} {% if alias != name %}AKA ({{ alias }}){% endif %}

{{ "Default Parsing Settings"|t }}

{{ "Enable Typography Styles?"|t }}

{{ forms.lightswitch({ name: "addTypographyStyles", on: settings.addTypographyStyles }) }}

{{ "Enable Shortcode Parsing?"|t }}

{{ forms.lightswitch({ name: "parseShortcodes", on: settings.parseShortcodes }) }}

{{ "Enable Reference Tag Parsing?"|t }}

{{ forms.lightswitch({ name: "parseReferenceTags", on: settings.parseReferenceTags }) }}

{{ "Enable Header Parsing?"|t }}

{{ forms.lightswitch({ name: "addHeaderAnchors", on: settings.addHeaderAnchors }) }}

{{ "Which headers do you want to make linkable by default?"|t }}

{{ forms.checkboxGroup({ id: "addHeaderAnchorsTo", name: "addHeaderAnchorsTo", options: {"h1": "H1", "h2": "H2", "h3": "H3", "h4": "H4", "h5": "H5", "h6": "H6"}, values: settings.addHeaderAnchorsTo, errors: "" }) }}
{{ forms.selectField({ id: "startingHeaderLevel", name: "startingHeaderLevel", label: "What do you want the starting header level to be?"|t, options: { "1": "H1", "2": "H2", "3": "H3", "4": "H4", "5": "H5", "6": "H6" }, value: settings.startingHeaderLevel, errors: "" }) }}

{{ forms.textareaField({ id: "codeBlockSnippet", name: "codeBlockSnippet", class: "code codeBlockSnippet", rows: 3, label: "Code Block Snippet", instructions: "A snippet to wrap fenced code blocks for your syntax highlighter to use."|t, value: settings.codeBlockSnippet, error: "" }) }}

{{ "Plugin Settings"|t }}

{{ "Display Plugin Tab?"|t }}

{{ forms.lightswitch({ name: "enableCpTab", on: settings.enableCpTab }) }} {{ forms.textField({ id: "pluginAlias", name: "pluginAlias", label: "Plugin Alias"|t, instructions: "Allows you to rename "~name~" to something more meaningful while retaining its name internally."|t, value: alias, errors: "" }) }}

© {{ "now" | date("Y") }} {{ name }} ({{ version }}) by Selvin Ortiz

{% endblock %}