HTML: make numbered x-refs links
Markdown parser: removed trim from inline code
ignore beginning and end space in inline code block