6bb8e6ebaa
update preview when the user types
...
We don't have any delay in between updates (because i'm scared of
threading), which has a few problem:
1. probably really sluggish on slow systems
2. probably slow for readmes with images (need to test)
3. flickers (the phantoms are updated too quickly, so sometimes it
doesn't replace the old one smoothly)
BUG: the preview doesn't load when we preview the markdown file
2019-11-14 15:56:22 +11:00
8eb6882d60
Update readme.md with contributing info
...
Jokes, I haven't even set black on my own editor yet...
2019-11-14 12:16:18 +11:00
61cf2984eb
Fix restoration of markdown_view as an original_view for unsaved files
...
It use to ask for confirmation (to save) because on_pre_close is run
after this dialog. Hence, we set the markdown_view as scratch for
unsaved files. :^)
2019-11-14 11:24:31 +11:00
7f7dcd6ba8
Restore the markdown_view as an original_view
...
See the top of MarkdownLivePreview.py for terminology
Doesn't work well for unsaved files, as pre_close is triggered after the
confirmation dialog
2019-11-14 11:20:20 +11:00
d3d88ddb49
Add basic readme.md
2019-11-14 11:16:47 +11:00
9a8ac3886e
Open current markdown file in a new window
...
It works for saved and unsaved files. Maybe unsaved file's content
should be written to a temporary file in case we crash, so that the user
doesn't lose all it's content.
2019-11-13 13:57:24 +11:00
d4c477749c
Add unmaintained notice
v2.4.9
2018-10-12 09:14:23 +11:00
79c785176f
🐛 check if color scheme is valid before loading
v2.4.8
2018-08-04 10:59:39 +10:00
82ad98085f
🐛 don't copy to html to clipboard. Fix #36
v2.4.7
2017-09-29 07:12:55 +10:00
dd184c5fdd
Merge pull request #35 from sepich/master
...
Fix for #33
Specify encoding when opening resource (`utf-8`)
v2.4.6
2017-09-18 08:36:22 +10:00
c334c49592
Fix for #33
2017-09-17 21:32:57 +03:00
41c28e2b24
✨ use option 'strike' although no-sublime-support
2017-07-29 14:34:57 +10:00
e1eb17fe96
🔀 Merge branch 'master' of github.com:math2001/MarkdownLivePreview
2017-03-22 18:35:59 +11:00
823d22afee
🎨 on_modified → async; use timeout only if needed
2017-03-22 18:32:42 +11:00
91f4bc5052
🐛 timeout to update preview
2017-03-22 17:53:07 +11:00
7126c0e090
✨ use setting for delay before updating preview
2017-03-22 17:40:20 +11:00
6a3dd6ac2f
✨ update preview at the most once every 0.8s
2017-03-22 17:30:32 +11:00
1542e5e898
🐛 in functions.py@get_resource
v2.4.5
2017-03-18 14:39:17 +11:00
05c471b5d9
add get_resource function
...
Allow to load the last version of a resource when extracted
v2.4.4
2017-03-07 08:28:56 +11:00
76f580ba29
open color scheme as resource #25
...
allows the color scheme to be in a packaged package
2017-03-07 08:24:19 +11:00
119acbb092
update todo
v2.4.3
2017-02-18 08:50:40 +11:00
7c4354fb2e
Local image loading now working. #19
2017-02-18 08:13:45 +11:00
b93aea6698
Revert "add pygments_from_theme"
...
This reverts commit 40a563fb1ee3c97f869741324534ab5dfe62a725.
2017-02-11 09:19:28 +11:00
b3fb5779d3
update todo
2017-02-11 09:16:01 +11:00
7bdda5f5c7
minify css in functions.py@get_style
2017-02-11 09:10:03 +11:00
7257cb467e
Highlight code blocks with pygments #18
2017-02-11 08:52:42 +11:00
40a563fb1e
add pygments_from_theme
2017-02-10 17:32:15 +11:00
3e0d6ad265
*add* user css rules
...
instead of replacing the default ones
2017-02-09 19:13:46 +11:00
f65a068b4e
don't auto reopen preview window #13
v2.4.2
2017-02-07 16:32:27 +11:00
bc328642e7
[docs] remove doc from readme
v2.4.1
2017-02-05 09:28:07 +11:00
d2053be41e
add messages for 2.4.x
2017-02-05 08:07:25 +11:00
eb48b1c79f
add keep_open_when_opening_preview doc to README
v2.4.0
2017-02-05 07:56:59 +11:00
8317fa738c
add 'header_action' "doc" to the readme
2017-02-03 18:09:23 +11:00
3be12b0539
add settings for YAML/TOML header #17
2017-02-03 17:44:19 +11:00
c92d78fb20
fix <hr>s ref #17
...
Phantoms do not support <hr/>, but <hr />
2017-02-02 18:30:42 +11:00
30d75f159d
add option: keep the md view when previewing #13
...
Keep the markdown view opened in the original window when when opening
the preview
v2.3.6
2017-01-27 09:55:52 +11:00
52e4b917e5
move get_preview_name to functions.py
2017-01-26 19:06:53 +11:00
48a68b2a79
detailed comment in markdown2html function
2017-01-26 18:43:51 +11:00
8eb0172eb4
improve replace_img_src_base64: use bs4
v2.3.5
2017-01-26 18:32:08 +11:00
52e35fb610
Remove comments. Fix #14
...
Phantom's do not support them.
v2.3.4
2017-01-26 18:12:34 +11:00
84f809e57f
[docs] add license and fix iframe in index.md
2017-01-26 14:35:20 +11:00
351e8bd355
fix spaces (dot) color in pre.table
v2.3.3
2017-01-26 14:19:21 +11:00
5babc862b4
format README
v2.3.2
2017-01-26 14:12:12 +11:00
dc7139fbe7
fix background color in tables
2017-01-26 12:59:23 +11:00
bbbeae6fe9
center tables <th>s #12
v2.3.1
2017-01-26 12:24:09 +11:00
271c7c619a
fix bug: remove hard-coded color in CSS
2017-01-26 11:47:18 +11:00
8cc6b2b263
fix typo, add a tiny bit of doc to the code
v2.3.0
2017-01-26 11:30:56 +11:00
c7961ce94c
update stylesheet for tables
2017-01-26 11:03:52 +11:00
eae91fa428
add separator for tables' header
2017-01-26 10:57:12 +11:00
6f18e8e4a2
remove .prettify() @ pre_with_pr (bs4);
...
fix spaces in tables too
2017-01-26 10:43:04 +11:00