Open MrCoder opened 11 months ago
Do we need to store these images? Because the OG image is dynamically generated by LaraSite. We can do something like this to improve SEO:
md:
[![ZenUML | Diagram Title](http://zenuml.com/sequence-diagram/diagrams/1/og-image.jpg)](https://zenuml.com/sequence-diagram/diagrams/1)
render to👇
html:
<a href="https://zenuml.com/sequence-diagram/diagrams/1">
<img alt="ZenUML | Diagram Title" src="http://zenuml.com/sequence-diagram/diagrams/1/og-image.jpg" />
</a>
So, we only need to care about:
Is OG image always regenerated? We have added salt to the URL so that we always get the right OG image.
It is an idea that we develop a plugin for DocuSaurus that automatically fetches and renders Open Graph (OG) images from external links included in markdown files.
Use case
Content is critical for our SEO and overall marketing success. A convenient way to include existing sequence diagram on pages/articles is useful.
We have said we will support one way to include diagram which is using code block like below:
With this one, it is easy to compose.
This proposal is for a different use case - to include an existing diagram from our diagram gallery. The extra benefit is that it can link back to the original diagram on our site which is useful to build an SEO network.
Proposed Functionality