Forums

[resolved] formatted C++ code in page html (3 posts)

  1. mark-w
    Member
    Posted 2 years ago #

    Hi,

    I wrote some html code which displays formatted C++ code (different color text for keyword, courier new font for all code blocks, etc).

    If I add this into the editor when adding a new page, are these formattings going to be lost, due to the theming?

    If so, is there anyway around it?

    Thanks,
    Mark

  2. moshu
    Member
    Posted 2 years ago #

    There is a plugin for (almost) everything :)
    You may want to try some code highlighting/formatting plugins:
    http://codex.wordpress.org/Plugins/Posts_Formatting
    http://codex.wordpress.org/Plugins/Syntax_Highlighting

  3. mark-w
    Member
    Posted 2 years ago #

    cool I got a nice one, thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags