File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -119,15 +119,21 @@ This is only for Medium
119119
120120## Relative Images
121121
122- To use images contained in the same folder of the blog articles use ` @ ` as source path. ` @ ` will be parsed
123- as the URL to the repository/<articles_folder>.
124- E.g.
122+ To use images contained in the same folder of the blog articles use ` @/<image_path> ` .
123+ ` @ ` refers to ` https://raw.githubusercontent.com/<owner>/<repo>/<articles_folder> `
124+
125+ Example:
125126```
126127
127-
128128<img src="@/img2.jpg" />
129129```
130130
131+ Will be parsed as
132+ ```
133+ 
134+ <img src="https://raw.githubusercontent.com/<owner>/<repo>/<articles_folder>/img2.jpg" />
135+ ```
136+
131137## Developing
132138
133139Run tests
@@ -158,4 +164,4 @@ Please submit a PR with any contribution. Refer to the list of `TODO's` or open
158164- [ ] Support publishing to only 1 platform
159165- [ ] Support edition and auto update of articles
160166- [ ] Support multiple articles
161- - [ ] Upload relative images
167+ - [x] Relative images to github raw server
You can’t perform that action at this time.
0 commit comments