ekaitz-zarraga / droWMark

VIM plugin to post in Wordpress using Markdown
http://www.vim.org/scripts/script.php?script_id=5374
GNU General Public License v3.0
0 stars 1 forks source link

Pandoc syntax highlighting doesn't work in Wordpress #6

Closed ekaitz-zarraga closed 7 years ago

ekaitz-zarraga commented 7 years ago

Pandoc's internal syntax highlighter creates CSS for the code. That could not be inserted in the content of a WordPress post.

OPTIONS:

  1. Don't highlight with Pandoc and leave that for WordPress.
  2. Find a way to upload highlighted code avoiding CSS to be WordPress compatible.
  3. Don't highlight. Yes, we can do it better than that. :hankey:
ekaitz-zarraga commented 7 years ago

We took the first option + bbcode