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

Support markdown link context #48

Open
egoist opened this issue Jan 10, 2017 · 0 comments
Open

Support markdown link context #48

egoist opened this issue Jan 10, 2017 · 0 comments

Comments

@egoist
Copy link
Owner

egoist commented Jan 10, 2017

If a link in markdown is relative path or absolute path, we can use context to change the url, this would be useful if you're loading external markdown file:

self.$config = {
  marked: {
    linkContext: 'https://raw.githubusercontent.com/user/repo/master'
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant