feat(v2): support for adding relative images and handling broken image links (#3069)

* all relative path in image url

* throw error if file doesn't present

* better error

* add @docusaurus/core to deps

* fix test
This commit is contained in:
Anshul Goyal 2020-07-21 18:57:45 +05:30 committed by GitHub
parent 15e73daae7
commit 3155dc30dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 162 additions and 4 deletions

View file

@ -89,6 +89,11 @@ Reference-style: ![alt text][logo]
[logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png 'Logo Title Text 2'
Images from any folder can be used by providing path to file. Path should be relative to markdown file.
![img](../static/img/logo.svg)
---
## Code