I’m having a hard time posting code snippets etc. in WordPress posts.
I am writing a lot about doing things in Linux based systems, and writing command line interface commands in regular text isn't very neat. I always used [code]# command[/code] when I did this on my old Wordpress theme.
At the moment I am using a plugin called "SyntaxHighlighter Evolved" but it doesn't really work very well. So I was wondering if there is a shortcode in Soledad to do this? Using [code] my code here [/code] doesn't work, it appears as any other text. [code language=”bash”] or any other language parameter does not work either.
I've added a screenshot of how it looks with the Syntax Plugin (with-syntax-plugin.png). I've also added a screenshot of what a desired result would be (desired-result-or-smilar.png).
I’m having a hard time posting code snippets etc. in WordPress posts.
I am writing a lot about doing things in Linux based systems, and writing command line interface commands in regular text isn't very neat. I always used [code]# command[/code] when I did this on my old Wordpress theme.
At the moment I am using a plugin called "SyntaxHighlighter Evolved" but it doesn't really work very well. So I was wondering if there is a shortcode in Soledad to do this?
Using [code] my code here [/code] doesn't work, it appears as any other text. [code language=”bash”] or any other language parameter does not work either.
I've added a screenshot of how it looks with the Syntax Plugin (with-syntax-plugin.png). I've also added a screenshot of what a desired result would be (desired-result-or-smilar.png).
Thank you.
Hi,
Please send me your admin url and admin account ( username and password ) - in a private reply. I will take it a look help you on this.
Best Regards,
PenciDesign
You are awesome.
Thank you.