O'Reilly logo

DocBook 5: The Definitive Guide by Richard L. Hamilton, Norman Walsh

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

Name

code — An inline code fragment

Synopsis

code ::= (text | phrase db._phrase | replaceable | Graphic inlines | Indexing inlines | Linking inlines | Object-oriented programming inlines | Programming inlines | Ubiquitous inlines)*

Attribute synopsis

Common attributes and common linking attributes.

Additional attributes:

  • language

Description

The code element is an inline element for identifying small fragments of programming language code.

Processing expectations

Formatted inline.

Attributes

Common attributes and common linking attributes.

language

Identifies the (computer) language of the code fragment

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