selfthinker / dokuwiki_template_writr

Bold, minimalist and modern DokuWiki template, converted from the Writr WordPress theme
https://www.dokuwiki.org/template:writr
GNU General Public License v2.0
50 stars 16 forks source link

improve a style for code element(''something'' in DokuWiki) #11

Closed posquit0 closed 8 years ago

posquit0 commented 8 years ago

Hi, Thanks for your great theme for DokuWiki. I'm using your theme well.

However, I have a problem related to code syntax in DokuWiki. I enjoy to use code syntax like ''func()'' in my document of DokuWiki. But, your theme doesn't make a highlight for this syntax unlike other themes of DokuWiki.

So I added my sourcecode for this feature.

Merry Christmas!

posquit0 commented 8 years ago

I'll be very happy if you review my commit!

selfthinker commented 8 years ago

The code styling is coming from the original WordPress theme. And I don't intend to change anything from the original code unless there is a good reason for it. There is no standard way of styling these elements. Some templates are highlighting them, others don't. (The original DokuWiki default template didn't.) You can always overwrite any template's styling with user styles.