Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Blog] Syntaxe raccourcie pour embed un tweet/instagram/… #410

Open
ogizanagi opened this issue Sep 10, 2021 · 0 comments
Open

[Blog] Syntaxe raccourcie pour embed un tweet/instagram/… #410

ogizanagi opened this issue Sep 10, 2021 · 0 comments
Labels
blog Article de blog enhancement New feature or request

Comments

@ogizanagi
Copy link
Member

Un fix pour un des anciens articles incluant des posts instagrams et tweet a été fait par @ameliedefrance dans #404.

Cependant nous pourrions reprendre ces syntaxes:

{{< instagram BVu5JDdlCKi >}}
{{< tweet 878662496160272384 >}}

ou similaire dans le parser Markdown (Parsedown) pour générer ces éléments HTML.

Voir comment cela a été fait dans Sténopé pour le support des admonitions par exemple:

https://github.com/StenopePHP/Stenope/blob/b7f8d61d52cbf7c013918debdf6db7eec0a68a2a/src/Service/Parsedown.php#L24-L89

@ogizanagi ogizanagi added enhancement New feature or request blog Article de blog labels Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blog Article de blog enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant