Forums

[Plugin: WP-CodeBox] Standards compliant code (1 post)

  1. Silenius
    Member
    Posted 6 months ago #

    The last version of the HTML spec now defines a way to specify the programming language in the markup.

    Example:

    <pre><code class="language-pascal">var i: Integer;
    begin
       i := 1;
    end.</code></pre>

    Source:
    http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-code-element

    Can a new version of the plugin be updated to use this syntax?

Reply

You must log in to post.

About this Topic

Tags