Baptiste Augrain
db4016385d
Merge branch 'master' into export-yfm
2020-06-12 15:17:02 +02:00
Nguyen Viet Hung
592aca1539
fixed eslint error & integrated with prettier as well as formatted the whole codebase ( #3450 )
2020-02-05 09:28:27 +09:00
sirrah23
ff9789b5a7
Fix 3060
...
Right now there are only two export types that are using a special
output formatter, pdf and html. Both of these formatters currently populate the
`/html/head/base` portion of the associated html document with the name
of the target directory for the file that the user is exporting.
In order for internal links within the exported document to work
correctly, the value of base must also include the filename. This fix
removes the call to `path.dirname`, which gets rid of the necessary
filename.
2019-08-24 13:36:05 +09:00
Evan Miller
bc24acd057
add targetDir parameter to outputFormatter
2019-02-11 11:15:08 -05:00
Baptiste Augrain
d76b7235db
export styles of code blocks
2018-12-15 12:42:39 +01:00
Baptiste Augrain
2d941c3ea3
Merge branch 'master' into export-yfm
2018-12-13 14:35:25 +01:00
Evan Miller
0a7fd0288c
Use promises for outputFormatter
2018-12-03 16:14:28 -05:00
Baptiste Augrain
c796b3b30e
add YAML front matter when exporting
2018-11-15 22:48:14 +01:00
ehhc
d79b6e094a
export folder should also export the attachments -> fixes #2374
2018-09-09 17:41:51 +02:00
ehhc
e9de8f42e5
Fix eslinter
2018-04-27 09:16:30 +02:00
ehhc
bf3f5a5971
Fixes #1827 -> include attachments in HTML exports of notes
2018-04-27 08:51:47 +02:00
Junyoung Choi
2e3e0bc1d8
Fix lint error
2018-04-26 16:35:47 -07:00
ehhc
d2163dacf9
Fixes #1825 Refactoring of the attachment/image management
2018-04-21 14:32:24 +02:00
Nikolay Lopin
6577599959
Replace forbidden filename symbols to _ for image export
2018-03-19 00:33:23 +03:00
Nikolay Lopin
8d59bd9f71
Remove redundant symbol from regexp
2018-02-25 02:42:15 +03:00
Nikolay Lopin
12447effc9
Reject promise if write to file failed
2018-02-06 22:19:06 +03:00
Nikolay Lopin
f678a17505
Export images together with document
2018-02-05 02:08:33 +03:00
Nikolay Lopin
83da07a941
Export note with local images
...
Looks through the note and searches for local images. Copies them to ‘images’ folder in the export path and replaces affected links.
#1261
2017-12-17 21:39:34 +03:00