Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

content.ini [CustomTagSettings]

The settings of [CustomTagSettings] in content.ini: AvailableCustomTags, IsInline, TeXSource

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/content/CustomTagSettings.md

On this page

content.ini [CustomTagSettings]

The block [CustomTagSettings] of settings/content.ini, with 3 setting(s).

Never edit settings/content.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/content.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/content.ini.append.php for one siteaccess,
  • extension/<extension>/settings/content.ini.append.php in an extension (read when the extension is active).

AvailableCustomTags

You can use custom tags through the <custom> tag in XML fields.
Example: <custom name="sub">Sub text</custom>

Default: a list of 5: factbox, quote, strike, sub, sup.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[CustomTagSettings]
# an empty "AvailableCustomTags[]" first replaces the shipped list; without it the items are added
AvailableCustomTags[]
AvailableCustomTags[]=factbox
AvailableCustomTags[]=quote
AvailableCustomTags[]=strike
AvailableCustomTags[]=sub
AvailableCustomTags[]=sup
*/ ?>

IsInline

Default: a hash of 3: strike=true, sub=true, sup=true.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[CustomTagSettings]
# an empty "IsInline[]" first replaces the shipped list; without it the items are added
IsInline[]
IsInline[strike]=true
IsInline[sub]=true
IsInline[sup]=true
*/ ?>

TeXSource

Custom tags whose text is TeX source (e.g. a LaTeX formula). When such a
text is opened in the Online Editor, it is read as TeX reads it: an unescaped
% comment is dropped with the rest of its line, the line break and the
indentation of the next line (otherwise the line break becomes a space and
the comment swallows the rest of the formula), and leading white space is
dropped instead of being stored as a no-break space. Other custom tags only
get their line breaks turned into spaces. None is set by default.
TeXSource[<custom tag name>]=true

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[CustomTagSettings]
# an empty "TeXSource[]" first replaces the shipped list; without it the items are added
TeXSource[]
*/ ?>

Generated by ./console exp:help:examples from settings/content.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x