Rendering format

Set the output format for this piece of code. Can be "raw", "html" or "ansi". Default is "raw".

This format can be different than the format used in the command response. For example you can choose to render code as HTML inside a JSON object response. Another example is to render raw format to put into a HTML code tag.

Property definitions

nitc $ CmdCode :: format=
	# Rendering format
	#
	# Set the output format for this piece of code.
	# Can be "raw", "html" or "ansi".
	# Default is "raw".
	#
	# This format can be different than the format used in the command response.
	# For example you can choose to render code as HTML inside a JSON object response.
	# Another example is to render raw format to put into a HTML code tag.
	var format = "raw" is optional, writable
src/doc/commands/commands_model.nit:426,2--435,41

nitc :: term $ CmdEntityCode :: format=
	redef var format = "ansi" is optional
src/doc/term/term.nit:213,2--38