better handling of 404. Still not perfect

This commit is contained in:
Mathieu PATUREL
2017-01-02 18:03:24 +11:00
parent 6a0267fb3b
commit 93a04733da
5 changed files with 42 additions and 19 deletions

View File

@ -2,9 +2,8 @@ Fast:
☐ sync scroll @needsUpdate(because of images)
☐ regive focus to the right markdown view
bug when empty `src`
call settings listener on_new too
☐ try/except for 404
call settings listener on_new too - might be too heavy
use alt attribute for 404 error
Medium:
☐ auto refresh preview if loading images
@ -15,13 +14,17 @@ Long:
☐ fix #4
☐ support hanchor (TOC) @big
Unknown:
☐ check how many times is the show_html function called
___________________
Archive:
preview.set_scratch(True) @done (17-01-02 16:41) @project(Fast)
set the title of the preview @done (17-01-02 16:38) @project(Fast)
✔ preview.wordWrap => True @done (17-01-02 16:31) @project(Fast)
clean the code (syntax) @done (17-01-02 16:27) @project(Medium)
add 404 image @done (17-01-02 16:27) @project(Medium)
load images from internet (`https:`) @done (17-01-02 15:51) @project(todo)
try/except for 404 @done Mon 02 Jan 2017 at 18:03 @project(Fast)
fix bug when empty `src` @done Mon 02 Jan 2017 at 17:15 @project(Fast)
✔ preview.set_scratch(True) @done Mon 02 Jan 2017 at 16:58
set the title of the preview @done Mon 02 Jan 2017 at 16:58
preview.wordWrap => True @done Mon 02 Jan 2017 at 16:58
clean the code (syntax) @done Mon 02 Jan 2017 at 16:58
✔ add 404 image @done Mon 02 Jan 2017 at 16:57
✔ load images from internet (`https:`) @done Mon 02 Jan 2017 at 16:57