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

--allow-local-files may not be accepted local files depending on the environment #133

Closed
yhatt opened this issue Aug 16, 2019 · 1 comment · Fixed by #136
Closed

--allow-local-files may not be accepted local files depending on the environment #133

yhatt opened this issue Aug 16, 2019 · 1 comment · Fixed by #136
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@yhatt
Copy link
Member

yhatt commented Aug 16, 2019

It was reported in marp-team/marp-vscode#64. (marp-team/marp-vscode#64 (comment))

We cannot yet identify this cause. The following is a list of concerns that might be possible to be a cause.

  • The base URI of converting file specified by <base> HTML element would have wrong encoding
  • Something cannot parse special characters like spaces, parentheses, and so on (Similar to Marp CLI cannot find a file that name has a pair of brackets #95)
  • Marp CLI may fail handling on-demand files (DropBox, OneDrive, Google Drive etc)
@yhatt yhatt added bug Something isn't working help wanted Extra attention is needed labels Aug 16, 2019
@yhatt
Copy link
Member Author

yhatt commented Aug 20, 2019

In a situation of marp-team/marp-vscode#64, we found that <base> file URL has use incorrect path while exporting PDF.

<base href="file://C:\Users\xxxxx\AppData\Local\Programs\Microsoft VS Code/c:\Users\xxxxx\Dropbox (uscitp)\_ITP 348\_Content (public)\_lectures\_week3\filename.md">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant