GoogleChrome / webdev-infra

Apache License 2.0
37 stars 28 forks source link

feat: implements a shared Columns shortcode #63

Closed mamieorine closed 1 year ago

mamieorine commented 1 year ago

Resolves #57

Since all the w-column in web.dev need to be removed, so It will be worth introducing the Columns shortcode we have on d.c.c to web.dev by moving this shortcode to webdev-infra.

Changes in this pull request:

Usages:

{% Columns %}

{% Column %}
{% Img src="image/foR0vJZKULb5AGJExlazy1xYDgI2/iuwBXAyKJMz4b7oRyIdI.jpg", alt="ALT_TEXT_HERE", width="380", height="240" %}
Original
{% endColumn %}

{% Column %}
{% Img src="image/foR0vJZKULb5AGJExlazy1xYDgI2/iuwBXAyKJMz4b7oRyIdI.jpg", alt="ALT_TEXT_HERE", width="380", height="240", params={flip: 'h'} %}
Flipped
{% endColumn %}

{% endColumns %}