Home GnuPG

Remarkup rule to embed images
26b29a60c0f8Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Remarkup rule to embed images

Summary:
Ref T4190. Added the remarkup rule to embed images:

Syntax is as follows:

{image <IMAGE_URL>}

Parameters are also supported, like:
{image uri=<IMAGE_URI>, width=500px, height=200px, alt=picture of a moose, href=google.com}

URLs without a protocol are not supported.

Test Plan: Tested with many of the syntax variations. If the provided URL doesn't point to an image, then a broken image icon will be shown.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley, yelirekim

Maniphest Tasks: T4190

Differential Revision: https://secure.phabricator.com/D16597

Details

Provenance
Josh Cox <joshcox@uberatc.com>Authored on Sep 26 2016, 3:56 PM
Parents
rPHAB7d576c3f94b5: Fix a bug in the imageproxy controller
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cox <joshcox@uberatc.com> committed rPHAB26b29a60c0f8: Remarkup rule to embed images (authored by Josh Cox <joshcox@uberatc.com>).Sep 26 2016, 10:55 PM