Code syntax syntax for placing code on web pages

Is there a utility that will generate html or css for blocks of code (.net C #) when you publish it on a website?

I have seen several sites with very beautifully formatted code, and I do not believe that they do it manually.

+3
source share
5 answers

I prefer the Highlighter syntax implementation (I use the Wordpress plugin for my blog ).

<strong> Benefits

  • It is based on JavaScript and does not care about what you have on the server.
  • RSS .
  • . , DSL Boo (. )

, Java Script http://syntaxhighlighter.googlecode.com/files/Overview01.png

+4

CopySourceAsHtml - Microsoft Visual Studio 2005, , HTML.

http://copysourceashtml.codeplex.com

, ! , - VS 2008

CSS- google, , HTML- . - .

+1

JavaScript, Dean Edwards.

jQuery, -, , .

+1

, , - -, , BlogTrog CodeWindow:

http://www.blogtrog.com

. .

0

Source: https://habr.com/ru/post/1697920/


All Articles