aramk / crayon-syntax-highlighter

Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, local file or post text.
https://wordpress.org/plugins/crayon-syntax-highlighter/
GNU General Public License v3.0
1.1k stars 248 forks source link

HTML code online preview ? #349

Open songzhengxu opened 8 years ago

songzhengxu commented 8 years ago

How are you I am a front development work, to find the code highlighting plug-in for a long time, found that you are the best, but a little is not enough, I hope, can increase code online preview function, such as the following url:http://www.w3cfuns.com/notes/23138/ca0f5efea47c10d931669c52aee99e8d.html

or Can be preview in a new window opens

Meligy commented 8 years ago

This plugin is just a syntax highlighter. It can be used with Java and even C which do not have a client side preview functionality.

If you need something like that, all sites with HTML preview have an embed feature, where they give you a piece of Code to include the HTML and preview in the post.

Big players in this area:

Here's an example Blog sample 1 Using crayon and plnkr.co preview together in different parts of the post

Another example Blog sample 2 Using crayon and copen.io preview together in different parts of the post: