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

[Feature request] Export HTML including all files | pandoc? #1510

Closed
tatoosh opened this issue Feb 5, 2018 · 4 comments
Closed

[Feature request] Export HTML including all files | pandoc? #1510

tatoosh opened this issue Feb 5, 2018 · 4 comments

Comments

@tatoosh
Copy link

tatoosh commented Feb 5, 2018

I tried the export from Boostnote, nice to have but all references in the HTML are linked to the local installation like this part of an export:

</style>
      <link rel="stylesheet" href="file://C:\Users\tatoosh\AppData\Local\boost\app-0.9.0\resources\app/node_modules/katex/dist/katex.min.css">
      <link rel="stylesheet" href="file://C:\Users\tatoosh\AppData\Local\boost\app-0.9.0\resources\app/node_modules/codemirror/lib/codemirror.css">
      <link rel="stylesheet" id="codeTheme" href="file://C:\Users\tatoosh\AppData\Local\boost\app-0.9.0\resources\app/node_modules/codemirror/theme/seti.css">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head><body data-theme="dark"><h1 data-line="0" id="atTemplate">Test</h1>
<p data-line="2"><img src="file:///Z:\owncloud\Boostnote\images\0.ashi0q6vv7.png" alt="0.ashi0q6vv7"></p>

Please include all files like CSS and IMAGES directly in the html.
For Visual Studio Code (https://github.com/dfinke/vscode-pandoc) or Atom there a plugins who are calling pandoc.

On my windows system i am using a batch file to convert markdown to html or pdf.

pandoc %1 --toc -c D:\pandoc\tatoosh.css --self-contained --toc -t html5 -o %1.html

So please change the export or give us an option for custom export with args, so i can call my batch file.

@islanddog
Copy link

I agree with you; I believe right now the export functionality for HTML is still in its infant stages. An option should be available to each do (Documents - Current) or All (which should include all project files). I think the only way to achieve this would be to have a 'Project Folder' of sorts to handle the export. For this type of functionality I still utilize Sublime Text but I do hope Boostnote has it in the future.

@nlopin
Copy link
Contributor

nlopin commented Feb 5, 2018

It is fixed at #1306. This pull request is currently on review.

@nlopin
Copy link
Contributor

nlopin commented Feb 15, 2018

@kazup01 @Rokt33r we can close the task. #1306 is merged

@kazup01
Copy link
Member

kazup01 commented Feb 16, 2018

Thank you guys :)

@kazup01 kazup01 closed this as completed Feb 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants