feat(backstage.io): Allow to zoom images like Medium

This commit is contained in:
Himanshu Mishra
2020-11-29 13:35:38 +01:00
parent 74175b988e
commit 4122b3031f
6 changed files with 29 additions and 3 deletions
+5
View File
@@ -204,3 +204,8 @@ For more information about custom pages, click [here](https://docusaurus.io/docs
# Full Documentation
Full documentation can be found on the [website](https://docusaurus.io/).
## Additional notes
- If you want to make images zoomable on click, add the `data-zoomable` attribute to your `img` element.
- In a docs or blog `.md` file, convert `![This is image](/microsite/static/img/code.png)` syntax to `<img data-zoomable src="/microsite/static/img/code.png" alt="This is image" />`