mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
[update] apply the method of fixLocalURLS before exporting to pdf
This commit is contained in:
committed by
Junyoung Choi
parent
b8de51be57
commit
3d7ab40674
@@ -345,6 +345,10 @@ export default class MarkdownPreview extends React.Component {
|
||||
customCSS
|
||||
)
|
||||
let body = this.markdown.render(noteContent)
|
||||
body = attachmentManagement.fixLocalURLS(
|
||||
body,
|
||||
this.props.storagePath
|
||||
)
|
||||
const files = [this.GetCodeThemeLink(codeBlockTheme), ...CSS_FILES]
|
||||
files.forEach(file => {
|
||||
if (global.process.platform === 'win32') {
|
||||
|
||||
Reference in New Issue
Block a user