D
D
dordzhiev2014-11-05 01:48:40
Habr
dordzhiev, 2014-11-05 01:48:40

How to insert code highlighted in Visual Studio into an article on Habré?

The only thing that came to my mind was to paste the code from the studio into Word, and then copy and paste it into the online WYSIWYG editor, pull out the HTML markup with cunning manipulations and paste it into the article on Habré. Alas, nothing is highlighted. What are the options? I am sure that Khabrovites have ready-made tools for this.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
aush, 2014-11-05
@dordzhiev

The Productivity Power Tools extension adds HTML copy capability to VS.

C
capslocky, 2014-11-05
@capslocky

The answer is in my article How to keep the original coloring of your code and...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question