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

Export multiple notes in a single .html #871

Closed
ChrisP4 opened this Issue Mar 14, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@ChrisP4
Contributor

ChrisP4 commented Mar 14, 2018

Expected behaviour

Selecting multiple notes and then clicking export will export all selected notes in a single .html file.

Actual behaviour

You can't currently do this as far as I can see.

Maybe this should have an Enhancement tag?

@pbek

This comment has been minimized.

Owner

pbek commented Mar 15, 2018

@pbek

This comment has been minimized.

Owner

pbek commented Mar 15, 2018

Maybe @Maboroshy wants to fool around? :)

@pbek

This comment has been minimized.

Owner

pbek commented Mar 15, 2018

18.03.7

  • there now is a new scripting command script.fetchNoteById() to fetch a note
    by its id (for #871)
  • there now is a new scripting command script.getSaveFileName() to show a
    save file dialog (for #871)
  • there now is a new scripting command script.selectedNotesIds() to return a
    list of the ids of all selected notes (for #871)
  • there now is a new scripting command script.writeToFile() to write text
    to a file (for #871)
  • there now is a new method toMarkdownHtml() for NoteApi to get the
    generated html of a note (for #871)

I will put a new script https://github.com/pbek/QOwnNotes/blob/develop/doc/scripting/export-notes-as-one-html.qml into the scripting repository.

@pbek pbek removed the help wanted label Mar 15, 2018

@pbek pbek added this to the 18.03.7 milestone Mar 15, 2018

@pbek

This comment has been minimized.

Owner

pbek commented Mar 16, 2018

  • there now is a new script Export notes as one HTML file in the Script repository to export multiple notes as one HTML file
@pbek

This comment has been minimized.

Owner

pbek commented Mar 16, 2018

There now is a new release, could you please test it and report if it works for you?

@pbek pbek closed this Mar 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment