松井誠泰
185a149d74
Hide copy-to-clipboard buttons when printing.
...
It is less confusing when printing because the pdf file does not have the function to copy.
2018-06-06 19:39:28 +09:00
ehhc
35bcbbbae4
Merge branch 'master' into smart_arrows
2018-06-05 11:35:56 +02:00
Sosuke Suzuki
d634e1124a
Merge pull request #1996 from ZeroX-DG/custom-markdown-css
...
Added custom markdown css
2018-06-04 15:07:16 +09:00
ehhc
4bc0cccb24
Migrate attachments from /images to /attachments -> fix #1941
2018-06-04 11:55:23 +09:00
ehhc
8ccf490e9b
Include markdown-it-smartArrow. Toggle it via settings and disable it by default since it might affect HTML comments in markdown
2018-05-28 23:05:08 +02:00
Nguyễn Việt Hưng
ea768f982e
Added custom markdown css
2018-05-29 00:37:59 +07:00
Nguyễn Việt Hưng
172ea82954
fixed yarn.lock conflict
2018-05-28 15:19:10 +07:00
Sosuke Suzuki
8e74ee7dde
Merge pull request #1987 from johannbre/master
...
[Feature Request] - 1638 - Support for admonitions
2018-05-28 14:32:58 +09:00
Johann Breytenbach
7b83a34777
[Feature Request] - 1638 - Support for admonitions
...
Added support for markup admonitions by including markdown-it-admonition. Added material icon support and updates to styles for rendering of six different types of admonitions.
2018-05-27 20:47:44 -07:00
Nguyễn Việt Hưng
c2c50817f1
resolved conflict
2018-05-25 18:42:02 +07:00
yosmoc
d399cba4c0
onContextMenu PropType is missing
2018-05-24 00:24:25 +02:00
yosmoc
9cad7cd025
anchorClickHandler is not valid any more
...
linkClickHandler takes care of behaviours when clicking a tag.
Currently, both anchorClickHandler and linkClickHandler are registered in a tag. When clicking the ^http link, it opens the link twice.
2018-05-24 00:11:14 +02:00
Nguyễn Việt Hưng
2b2f17525e
cleaned up redundant variables, fixed eslint fix command, split snippetList into component
2018-05-21 18:32:41 +07:00
Junyoung Choi (Sai)
b03b9d5334
Merge pull request #1887 from o-3/master
...
Add configuration to render newlines as <br> or not
2018-05-17 01:08:52 +09:00
yosmoc
7e1596de30
refactor code duplication
2018-05-13 00:36:03 +02:00
yosmoc
67bba043ed
MarkdownPreview also needs to convert the mode name for specific modes
2018-05-13 00:35:32 +02:00
ozone
ab038b1f31
Add configuration to render line breaks as <br> or not
2018-05-04 00:44:22 -04:00
Junyoung Choi (Sai)
30548a68e4
Merge pull request #1868 from yosmoc/1820
...
fix internal note link bug #1820
2018-05-01 12:52:10 -07:00
Junyoung Choi (Sai)
765ba8c867
Merge branch 'master' into master
2018-05-01 12:00:50 -07:00
ehhc
bf3f5a5971
Fixes #1827 -> include attachments in HTML exports of notes
2018-04-27 08:51:47 +02:00
Junyoung Choi
05009d40c4
Merge branch 'master' into attachment_refactoring
2018-04-26 16:24:58 -07:00
yosmoc
c9c28eda1b
support internal note link
2018-04-24 23:40:59 +02:00
Chen Shenghan
744bcba599
Fix #1780 : Use black text with white background for printing and export in all theme
2018-04-25 03:31:36 +12:00
Chen Shenghan
6ec2124a9c
Fix #1797 : In preview window, open external link in external browser.
2018-04-24 02:51:58 +12:00
ehhc
d2163dacf9
Fixes #1825 Refactoring of the attachment/image management
2018-04-21 14:32:24 +02:00
Junyoung Choi (Sai)
6142f2d641
Merge pull request #1724 from ehhc/Issue_1723
...
Fixes #1723
2018-04-10 19:16:05 +09:00
Nikolay Lopin
90f21f4ed1
Escape html characters before convert to HTML
2018-03-25 23:47:17 +03:00
ceh
cf776088e6
Fixes #1723
2018-03-22 17:26:59 +01:00
Junyoung Choi
5ea24f650b
Make sanitization configurable
2018-03-22 12:01:16 +09:00
Junyoung Choi (Sai)
1c283f88d0
Merge pull request #1636 from mirsch/remove-volatile-hash-from-note-links
...
remove volatile hash from note links - #1623
2018-03-12 11:26:41 +09:00
Junyoung Choi
1ca1166f74
Merge branch 'master' into feature/add-smartquotes-toggle
2018-03-09 23:30:54 +09:00
Yu-Hung Ou
d01a7b16a1
fixed codeblock style in exported HTML file
2018-03-08 23:40:13 +11:00
Yu-Hung Ou
c633ba9497
Merge branch 'master' into feature/add-smartquotes-toggle
2018-03-07 22:25:39 +11:00
mirsch
f370508c93
fixes #1442 , Export responsive html
2018-03-07 01:08:10 +01:00
David Gay
4800a88cf6
add UTF-8 tag to HTML export ( fixes #1624 )
2018-03-05 21:22:42 -05:00
mirsch
0280a5f09e
use uuid in keygen, remove storage.key from note hash
2018-03-04 22:21:14 +01:00
Yu-Hung Ou
e89c0a3e61
added support for toggling smart quotes in preview
2018-03-02 00:06:58 +11:00
Sander Steenhuis
c82eba05d1
Sync Split Editor scroll position
2018-02-20 22:31:53 +01:00
Nikolay Lopin
67ddff736c
Switch from preview to edit by double click
...
User want to click markdown to work with text (for example copy).
If they have "Switch to Preview" setting in "When Editor Blurred",
they enter edit mode after click. To fix that issue I introduced new
value to the "Switch to Preview" setting that do that thing. User can
enter edit mode by double click on the editor and leave it on blur.
Unfortunately, it's impossible to switch both ways by double click
because the editor mode is listening for double click event.
#1523
2018-02-13 23:43:11 +03:00
Nikolay Lopin
d7d77dbfe9
Fix wrong styling of todo items in exported HTML
...
The issue happened because styles connected with todo list were applied directly to HTML in Preview component. I added class to `li` tag of each todo item and style it from css.
2018-02-10 14:03:02 +03:00
Nikolay Lopin
338f9fb5a9
Semicolon fix
2018-02-05 13:04:01 +03:00
Nikolay Lopin
98c9132d4a
Merge branch 'master' into export-note-with-images
...
# Conflicts:
# browser/components/MarkdownPreview.js
2018-02-05 12:59:45 +03:00
Nikolay Lopin
f678a17505
Export images together with document
2018-02-05 02:08:33 +03:00
Nikolay Lopin
3da4bb69ce
Export images together with document
2018-02-05 02:08:09 +03:00
Vladimir Jimenez
4bd639c6c4
Allow preview area to scroll past end of file
2018-01-29 17:11:42 -08:00
Maurits Lourens
14318528b9
added encoding meta tag
2018-01-15 22:18:23 +01:00
Anthony Graham
b4e138e21b
Elixir Syntax Highlighting
2018-01-01 21:17:29 +00:00
Kazz Yokomizo
dd729c406f
Merge pull request #1256 from mslourens/export-html
...
first attempt to export html
2017-12-28 10:38:55 +09:00
Sosuke Suzuki
e682ee8541
avoid handling events for not split editor
2017-12-18 18:52:33 +09: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