I am using the Origami theme for a blog. I am writing pages using markdown (syntax).
My blog contains some code, but it is displaying as plain text since css is not defined for code in the theme. I considered customizing css for this purpose, but figured if there is no css in the theme for code them maybe I am using the wrong theme.
I like the design philosophy of SiteOrigin. Is there another theme that is more appropriate for my purpose?
I went ahead and added custom css:
code { background-color: #00ff00; }
URL: http://blog.wellzesta.com/ceos-notebook/happy-birthday/
Note: all my “code” references got rendered as html. This makes the post basically unreadable. Don’t know how to edit the post….
Hi John
I’d imagine you could add a plugin to help handle this. Here are a few ideas:
https://wordpress.org/plugins/search.php?q=markdown&sort=
https://wordpress.org/plugins/wp-markdown/
I haven’t had any experience with this so don’t have a single plugin that I can recommend.
Thanks Andrew. I am using the markdown plugin avaialble through jetpack.
i was able to add the custom css to the Origami theme. One must click the checkbox in settings to get it to work.
I guess I would add a feature request to the origami developers: provide css support for html tags like code and quote
~JR
Glad to hear you made progress there.
Thanks for the feedback. There should be support for code and quote. I’ll make a note of that on my side.
All the best.