Skip to content
This repository has been archived by the owner on Dec 27, 2018. It is now read-only.

[WIP] Macros (shortcodes) feature. #371

Merged
merged 4 commits into from
Nov 8, 2018
Merged

[WIP] Macros (shortcodes) feature. #371

merged 4 commits into from
Nov 8, 2018

Conversation

ArnaudLigny
Copy link
Member

@ArnaudLigny ArnaudLigny commented Nov 4, 2018

The goal: include easily external content (Youtube video, GitHub Gist, etc.) or pre-formatted content in Markdown.

In my opinion, the best way is with Twig capabilities: variables and macros.

ie: {{ macro.youtube('NaB8JBfE7DY') }}

@ArnaudLigny ArnaudLigny changed the title [WIP] Working on macro feature. [WIP] Macro feature. Nov 4, 2018
@ArnaudLigny ArnaudLigny changed the title [WIP] Macro feature. [WIP] Macro/shortcode feature. Nov 4, 2018
@ArnaudLigny ArnaudLigny changed the title [WIP] Macro/shortcode feature. [WIP] Macros/shortcodes feature. Nov 5, 2018
@ArnaudLigny ArnaudLigny changed the title [WIP] Macros/shortcodes feature. [WIP] Macros (shortcodes) feature. Nov 8, 2018
@ArnaudLigny ArnaudLigny merged commit d21ac52 into master Nov 8, 2018
@ArnaudLigny ArnaudLigny deleted the macro branch November 8, 2018 23:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant