Extract string found at end of fence opening.

Property definitions

markdown :: markdown $ Text :: meta_from_fence
	# Extract string found at end of fence opening.
	private fun meta_from_fence: nullable Text do
		for i in [0..chars.length[ do
			var c = chars[i]
			if c != ' ' and c != '`' and c != '~' then
				return substring_from(i).trim
			end
		end
		return null
	end
lib/markdown/markdown.nit:2576,2--2585,4