skeeto / impatient-mode

Impatient html mode. See your changes in the browser as you type
215 stars 19 forks source link

user-filter for markdown #12

Closed tkita closed 4 years ago

tkita commented 6 years ago

new function imp-md2html

I tried a standard user-filter for markdown. regards.

skeeto commented 6 years ago

This is quite clever and it works a lot better than I expected. I thought the automatic page scroll on updates wouldn't work properly, but it works fine.

My only reservation is loading those external resources. Since they're open source, we can just bundle them (appropriately marked with their licenses) in this package alongside the other web resources (jQuery, etc.). There are three benefits:

  1. This feature would still work when offline.

  2. It's surprising to download files from the internet as a side effect of viewing a Markdown buffer with impatient-mode.

  3. It's better for privacy. Not that I expect something to ever go wrong with those URLs, but the user wouldn't need to trust Cloudflare every time the feature is used.

I think the MELPA recipe will also need updating.

tkita commented 6 years ago

understand. I will remake it. By the way, impatient-mode is realy wonderful. Thanks.