Render mdoc depending on full_doc and format

Property definitions

nitc $ CmdComment :: render_comment
	# Render `mdoc` depending on `full_doc` and `format`
	fun render_comment: nullable Writable do
		var mdoc = self.mdoc
		if mdoc == null then return null

		if full_doc then return mdoc.documentation
		return mdoc.synopsis
	end
src/doc/commands/commands_model.nit:67,2--74,4

nitc :: md_commands $ CmdComment :: render_comment
	redef fun render_comment do
		var mdoc = self.mdoc
		if mdoc == null then return null

		if format == "md" then
			if full_doc then return mdoc.md_documentation
			return mdoc.md_synopsis
		end
		return super
	end
src/doc/templates/md_commands.nit:94,2--103,4

nitc :: html_commands $ CmdComment :: render_comment
	redef fun render_comment do
		var mdoc = self.mdoc
		if mdoc == null then return null

		if format == "html" then
			if full_doc then return mdoc.html_documentation
			return mdoc.html_synopsis
		end
		return super
	end
src/doc/templates/html_commands.nit:110,2--119,4