Skip to content

Commit 02cfaf8

Browse files
author
olaru
committed
Update image name
1 parent 16a0fa6 commit 02cfaf8

3 files changed

Lines changed: 1 addition & 1 deletion

File tree

public/opengraph/article/dotkernel-twig-markdown-twitter-card.png renamed to public/opengraph/article/twitter-card-markdown-to-html.png

File renamed without changes.

src/App/assets/opengraph/article/dotkernel-twig-markdown-twitter-card.png renamed to src/App/assets/opengraph/article/twitter-card-markdown-to-html.png

File renamed without changes.

‎src/App/src/Fixture/articles_cleaned.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2021,7 +2021,7 @@
20212021
},
20222022
"isObsolete": false,
20232023
"isTwig": false,
2024-
"opengraph_img": "/opengraph/article/dotkernel-twig-markdown-twitter-card.png",
2024+
"opengraph_img": "/opengraph/article/twitter-card-markdown-to-html.png",
20252025
"excerpt": "How to wire twig/markdown-extra with league/commonmark so a Twig application converts Markdown files to HTML on every request, instead of pre-compiling pages at build time.",
20262026
"tl_dr": "twig/markdown-extra adds a markdown_to_html filter to Twig but ships no Markdown parser itself — you provide one through a RuntimeLoaderInterface factory.\nWire MarkdownExtension and a MarkdownRuntime (backed by league/commonmark's GithubFlavoredMarkdownConverter) into your container, register the extension with Twig, then call {{ someMarkdownString|markdown_to_html }} in any template.\nBecause the conversion runs inside the request/response cycle rather than at build time, the source .md file can be read from disk, edited, or swapped right up until the moment a request asks for it — no build step, no cache to invalidate by hand.",
20272027
"tags": []

0 commit comments

Comments
 (0)