O'Reilly logo

Mastering Internet of Things by Peter Waher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizing code visualization

Code in Markdown can either be in-lined in text by embedding it between back-ticks ` and `, or placed in a separate block whose first and last rows begin with three back-ticks ```, where the first can be suffixed by the name of the language used by the code. Visualization of such block-level code can be customized by specific code content handlers. The default behavior is to present the code verbatim, adding syntax highlights represented by the language if provided. But if there exists a class in the system implementing the ICodeContent interface defined in Waher.Content.Markdown.Model, which recognizes the language provided, the presentation of such code can be completely customized.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required