Adding a Code to Display any Code in the Content

Use Code shortcode to display a source code in a stylish way. You can add the Code shortcode, then fill in its attributes. Available options will be explained below.

code
[aux_code language="javascript" theme="tomorrow" title="Title" extra_classes=""]insert your code here[/aux_code]

To see the demos of Code, check out this link.

Option Default Value Values and Description
title "Title" Write a header title here.
language "javascript" "javascript" "html" "xml"
theme "tomorrow" "tomorrow" "dark" "far" "googlecode" "github.com" "monokai"
extra_classes " " Add your custom CSS class names here, to style particular content element differently.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us