add option: keep the md view when previewing #13

Keep the markdown view opened in the original window when when opening
the preview
This commit is contained in:
Mathieu PATUREL
2017-01-27 09:55:52 +11:00
parent 52e4b917e5
commit 30d75f159d
4 changed files with 12 additions and 6 deletions

View File

@ -26,9 +26,6 @@ def get_preview_name(md_view):
return name + ' - Preview'
def replace_img_src_base64(html, basepath):
"""Really messy, but it works (should be updated)"""
soup = BeautifulSoup(html)
load_from_internet_starters = get_settings().get('load_from_internet_when_starts')
for img in soup.find_all('img'):