Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new plugin to address relative image path issue in front matter #217

Merged
merged 1 commit into from
Dec 20, 2018

Conversation

patricksimonian
Copy link
Contributor

@patricksimonian patricksimonian commented Dec 20, 2018

Summary

If you had front matter in a markdown file like

---
image: ./images/foo.png
---

This would not correctly render an image in the devhub because the path was relative to the github source. This has been corrected by adding another file transformer plugin.
Fixes #187

** PLEASE NOTE ** this plugin has been authored and tested but not implemented. The reason for this is there are significant breaking changes within PR #213. The preferable thing to do is have that pr as well as this one merged and then a new pr created to implement this plugin.

@patricksimonian
Copy link
Contributor Author

issue #217 created

Copy link
Contributor

@ShellyXueHan ShellyXueHan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DOPE

@patricksimonian patricksimonian merged commit b00247a into master Dec 20, 2018
@patricksimonian patricksimonian deleted the bug/markdown-frontmatter-images branch December 20, 2018 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants