Markdown: inline images with data:image/*;base64,...

As a prevention against cross site scripting attacks, Gitiles
does not support serving raw files to browsers

Allow markdown document authors to display images contained inside
the Git repository by converting image files to a data:image/*;base64
URI that is embedded directly into the output HTML.

markdown.imageLimit defines an upper bound on how large of a source
image file will be embedded into the document. Embedded images are
disabled if set to 0.

Change-Id: I76651221e76f909eb4f088ca222f1105a6871e35
5 files changed