Formatting text in Description fields
In edit mode, P4V supports internal and external drag-and-drop, cut and paste, and undo/redo operations in the Description fields of changelists and specifications, such as job specs, workspace specs, stream specs, and branch specs.
Markdown support in Description fields
You can use Markdown in Description fields for links, headers, lists, and text formatting. For example,
renders the following raw Markdown:
P4V support for some [ Markdown features](https://guides.github.com/features/mastering-markdown/) # Heading One 1. One with *italic* 2. Two with **bold** ## Heading two * bullet with __**bold italic**__ * bullet with ~~crossed out~~ crossed out text Customers can email [Perforce Technical Support]([email protected])
For the features that P4V supports, the Markdown syntax is at https://guides.github.com/features/mastering-markdown/.
We recommend using Markdown syntax because HTML syntax and Markdown syntax should not be mixed. If you want to use HTML tags, Configuring P4V preferences for Features allows you to disable Markdown.
HTML support in Description fields
In addition, you can mark up text and create hyperlinks by using HTML syntax. In read mode, the content of Description fields renders in rich text. Hyperlinks are active and, when clicked, open up in the default web browser. The following figure illustrates how the content of the Description field renders in edit mode versus read mode.
For submitted changelists, edit mode is only available if you have a workspace and if the changelist is yours.
The supported HTML tags in Description fields are governed by Qt's rich text engine. For details, see Qt's documentation on the supported HTML subset.