Using the Code Formatting feature

This article shows you how the code formatting option works. Clarify allows you to format code in your instructions as entire blocks of code or as individual words within a sentence. When you click the code formatting button, what happens to the text depends on what you have selected.

Highlighting words as code

If you just want to mark a word or two as code then select the word(s) [1] and click the code formatting button [2].

Highlighting words as code

The selected words will be treated as code and formatted accordingly.

In any HTML output that Clarify generates, the text will be enclosed in <code>...</code> tags.

Marking code blocks

If you want to highlight a block of text as code you can do so as well. If you have no text selected, multiple lines selected, or an entire line selected then the entire paragraph will be converted to a code block.

  1. Make your selection.
  2. Click the code formatting button.
Marking code blocks

The selected text is converted to a code block. Any HTML output created by Clarify will wrap the text in <pre><code>...</code></pre> tags.

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.