Creating a question and answer website in Drupal - Part 2 (using the syntaxhighlighter module)

This is the second part of our series on how to create a question and answer website in Drupal. In this screencast we would be looking at how we can allow users to insert code snippets in the answers they are providing. Say for example it is a question and answer website for a programming language, we would like codes provided in the answers to be well formatted. In other to achieve this, we will be making use of three modules 

We would be using the ckeditor alongside WYSIWYG for client side editing. The syntax highlighter module allows for source code syntax highlighting while the syntax highlighter insert allows syntaxhighlighter tags to be used within textareas.

NOTE:

When you have downloaded the syntax highlighter insert module into your sites/all/modules folder and you try installing it, you will notice the modules list page does not load or it gives an error. All you need to do is open the syntaxhighlighter_insert.INFO file and remove the quotes around name, description, etc.

The syntax highlighter might not work with filtered HTML, so use the FULL HTML text format.

Comments

You can visit https://www.promoocodes.com/dollar-one-web-hosting/ to buy website hosting at low price value.

Call now at UK Toll free number For HP printer Call at 0800-046-5041.You can also Visit
http://hp-printer-helpline.com

very useful content. great work.. thanks ..http://canon-help.uk/

the content you are posted is very good ..http://epson-support-me.com/

Hii.. it's a very wonderful blog with many ideas.. Keep updating me..
http://printershelps.com/canon-support

Hi, very nice post...
<a href="http://printer-support-number.info/">Hp Printer Helpline phone number </a>

this is a great post. thank you.
<a href="http://printer-support-number.org/">Epson Printer Help Number</a>

hii great post, thank you.
<a href="http://printer-support-number.org/">Epson Support Number</a>

ery useful content. great work.. thanks
http://printer-support-number.org/

hii this is a great post, thank you.
<a href="http://printer-support-number.org/">Epson Support Number</a>

Thanks for this awesome web page, i like it

Thanks for this awesome web page, i like it.
http://www.printers-support-number.com/

Thanks for this awesome web page, i like it.
<a href="http://antivirus-support-number.online/">avast support number</a>

I thank you for the information! I was looking for and could not find.
https://guestexperiencefeedback.co

very very nice article, thanks for the sharing with us.
http://antivirus-support-number.net/

its a very nice blog. thanks for sharing with us.

very interesting blog. Interesting to read . for information regarding printing in Delhi please visit to the link.

Much informative article, and I really appreciate this info and willing for more interesting article like this.

Add new comment