Search

I selected Markdown for my formatting on several custom fields I created on my site and whenever I try to use Markdown it does not work. It displayed un-formatted text. But the strange thing is it does not even show the markdown tags, those dont display.. so if I try to bold with “” the word is not bold. Usually when this happens and Markdown is not working you see the “”, but that is not even displaying, so I am thinking the system sees the Markdown but it not executing it.

Probably the problem is in your XSLT. You might have used:

<xsl:value-of select="somenode"/>

What you need is

<xsl:copy-of select="somenode/*"/>

Maybe you mixed up <xsl:value-of /> and <xsl:copy-of />? While the first would return plain text the latter one should return your markup.

@Nils: I was faster!

I see :)

Ah yes! That was the problem. Thank you both… changed it and it worked instantly..

The other one that trips me up is forgetting to add back bold and italic styling to strong and em elements after using a reset.css stylesheet! If I had a penny for every time a client asked why their bold wasn’t working, or why the list has no bullets…

Start with a template that has those basic declarations?

Well yes ;-)

Nick,

You’re welcome.

Regards, Captain Obvious

Start with a template that has those basic declarations?

Craig’s solutions are next level.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details