home.social

#syntaxhighlight — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #syntaxhighlight, aggregated by home.social.

  1. It's really kinda QUITE ANNOYING that...

    • #MediaWiki chose to replace <source> with <syntaxhighlight>...
    • ...and provided no way to invoke it via a more memorable/typeable template.
      • (...because angle-bracket tags parse the template parameter-markup before the markup is replaced with the template arguments, so if I do a template that's <syntaxhighlight lang=php inline>{{{1}}}</syntaxhighlight>, for example, invoking the template always gets you {{{1}}} on the page. ...and there's no alternative {{#syntaxhighlight:...}} syntax, as far as I can tell.)

    Seems like there really ought to be a way to invoke any XML-style tag in a way that means "parse this after template argument replacement, please".

    #softwareGripe

  2. It's really kinda QUITE ANNOYING that...

    • #MediaWiki chose to replace <source> with <syntaxhighlight>...
    • ...and provided no way to invoke it via a more memorable/typeable template.
      • (...because angle-bracket tags parse the template parameter-markup before the markup is replaced with the template arguments, so if I do a template that's <syntaxhighlight lang=php inline>{{{1}}}</syntaxhighlight>, for example, invoking the template always gets you {{{1}}} on the page. ...and there's no alternative {{#syntaxhighlight:...}} syntax, as far as I can tell.)

    Seems like there really ought to be a way to invoke any XML-style tag in a way that means "parse this after template argument replacement, please".

    #softwareGripe

  3. It's really kinda QUITE ANNOYING that...

    • #MediaWiki chose to replace <source> with <syntaxhighlight>...
    • ...and provided no way to invoke it via a more memorable/typeable template.
      • (...because angle-bracket tags parse the template parameter-markup before the markup is replaced with the template arguments, so if I do a template that's <syntaxhighlight lang=php inline>{{{1}}}</syntaxhighlight>, for example, invoking the template always gets you {{{1}}} on the page. ...and there's no alternative {{#syntaxhighlight:...}} syntax, as far as I can tell.)

    Seems like there really ought to be a way to invoke any XML-style tag in a way that means "parse this after template argument replacement, please".

    #softwareGripe

  4. It's really kinda QUITE ANNOYING that...

    • #MediaWiki chose to replace <source> with <syntaxhighlight>...
    • ...and provided no way to invoke it via a more memorable/typeable template.
      • (...because angle-bracket tags parse the template parameter-markup before the markup is replaced with the template arguments, so if I do a template that's <syntaxhighlight lang=php inline>{{{1}}}</syntaxhighlight>, for example, invoking the template always gets you {{{1}}} on the page. ...and there's no alternative {{#syntaxhighlight:...}} syntax, as far as I can tell.)

    Seems like there really ought to be a way to invoke any XML-style tag in a way that means "parse this after template argument replacement, please".

    #softwareGripe

  5. It's really kinda QUITE ANNOYING that...

    • #MediaWiki chose to replace <source> with <syntaxhighlight>...
    • ...and provided no way to invoke it via a more memorable/typeable template.
      • (...because angle-bracket tags parse the template parameter-markup before the markup is replaced with the template arguments, so if I do a template that's <syntaxhighlight lang=php inline>{{{1}}}</syntaxhighlight>, for example, invoking the template always gets you {{{1}}} on the page. ...and there's no alternative {{#syntaxhighlight:...}} syntax, as far as I can tell.)

    Seems like there really ought to be a way to invoke any XML-style tag in a way that means "parse this after template argument replacement, please".

    #softwareGripe