Syntax Anywhere

Syntax Anywhere is the ideal companion for writing about code. Simply paste code fragments into your content and Syntax Anywhere will highlight it for you.

Add Syntax Anywhere to a site and it will find and highlight sections of code or markup within any block you can write fragments of code into, whatever the programming or markup language. Using checkboxes and/or css selectors, you have complete control of what Syntax Anywhere highlights on your page.

Syntax Anywhere works with any block that supports the tags and markers it can key on. With Syntax Anywhere you can highlight syntax in:

  • Content blocks
  • HTML blocks
  • Many derivatives of content blocks
  • Blog posts
  • Forum posts
  • Blocks that display markdown
  • Forum posts
  • Blocks you have created using Block Designer or Chisel

Add a Syntax Anywhere  block to just one page or click a dashboard setting and enable Syntax Anywhere for all pages on your site.

Syntax Anywhere provides a massive selection of syntax processing libraries and themes so you can easily pick a highlighting theme to match your site. At last count, approximately 250 language syntaxes are supported between the various syntax processors.

Syntax Anywhere uses an advanced package architecture to provide:

  • A dashboard page to manage global default settings for Syntax Anywhere blocks.
  • Any block can have its own settings or track the global settings.
  • Export and Import block and global settings and copy them between sites.
  • Built in documentation pages.
  • Plugin architecture for easy extension. If the existing syntax processors and themes are not enough, you can implement your own interface to many more.

In highlighted HTML

Here we have the above desription, as syntax highlighted HTML.

Syntax Processor
Prettify
Theme
Cave Dark
        <p><strong>Syntax Anywhere</strong> is the ideal companion for writing about code. Simply paste code fragments into your
    content and <strong>Syntax Anywhere</strong> will highlight it for you.</p>

<p>Add <strong>Syntax Anywhere</strong> to a site and it will find and highlight sections of code or markup
    within any block you can write fragments of code into, whatever the programming or markup language. Using checkboxes
    and/or css selectors, you have complete control of what <strong>Syntax Anywhere</strong> highlights on
    your page.</p>

<p><strong>Syntax Anywhere</strong> works with any block that supports the tags and markers it can key on. With
    Syntax Anywhere you can highlight syntax in:</p>

<ul>
    <li>Content blocks</li>
    <li>HTML blocks</li>
    <li>Many derivatives of content blocks</li>
    <li>Blog posts</li>
    <li>Forum posts</li>
    <li>Blocks that display markdown</li>
    <li>Forum posts</li>
    <li>Blocks you have created using Block Designer or Chisel</li>
</ul>

<p>Add a <strong>Syntax Anywhere</strong>  block to just one page or click a dashboard setting and enable <strong>Syntax
    Anywhere</strong> for all pages on your site.</p>

<p><strong>Syntax Anywhere</strong> provides a massive selection of 
<a href="https://c5magic.co.uk/addons/syntax-anywhere/syntax-processor-documentation">syntax processing libraries</a> 
and themes so you can easily pick a highlighting theme to match your site. At last count, approximately 250 language syntaxes are 
supported between the various <a href="https://c5magic.co.uk/addons/syntax-anywhere/syntax-processor-documentation">syntax processors</a>.</p>

<p><strong>Syntax Anywhere</strong> uses an advanced package architecture to provide:</p>

<ul>
    <li>A dashboard page to manage global default settings for Syntax Anywhere blocks.</li>
    <li>Any block can have its own settings or track the global settings.</li>
    <li>Export and Import block and global settings and copy them between sites.</li>
    <li>Built in documentation pages.</li>
    <li>Plugin architecture for easy extension. If the existing syntax processors and themes are not enough, you can
        implement your own interface to many more.
    </li>
</ul>    

Syntax Anywhere

jl_syntax_anywhere - v7.2.7 - resources v2.8.14

Apply syntax formatting anywhere on a page, including sections within the content of other blocks.

Block Types Single Pages
  • Syntax Anywhere /dashboard/​blocks/​syntax_anywhere Apply syntax formatting anywhere on a page, including sections within the content of other blocks.
  • Syntax Processor Plugins /dashboard/​blocks/​syntax_anywhere/​plugin_list Apply syntax formatting anywhere on a page, including sections within the content of other blocks.
  • Global Settings /dashboard/​blocks/​syntax_anywhere/​global_settings Edit global settings and defaults for Syntax Anywhere.