markdown-viewer icon indicating copy to clipboard operation
markdown-viewer copied to clipboard

Make some useful setups as default settings

Open Erich-Chen opened this issue 7 years ago • 1 comments
trafficstars

Hi @simov I mainly come around to say thank you for such a great chrome extension. It helps me to read my own github repo perfect where there is a lot of math equations in it.

It took me quite some time to understand and set up it correctly to render math equations for github. For Exclude Origin part, it took me 30 minutes to understand that I shall leave "MATCH" option blank :-( my stupid.

So how do you think to make default set up fitting github? For example, I think below settings are very useful.

  1. Exclude Origin "github.com";
  2. Allow Origin "raw.githubusercontent.com";
  3. Enable autoreload / mathjax / scroll / toc.
  4. Enable github flavored markdown and breaks.

Thank you so much developing Markdown Viewer a perfect tool.

Erich-Chen avatar Aug 01 '18 08:08 Erich-Chen

Thanks, @ericchenkai! I'm really trying to make the UI as simple as possible + document every aspect of it.

I'm going to address your points here:

1/2 - I plan to add presets in the next release to prevent some of the most common mistakes when enabling remote origins. 3 - These were all added at some point, except the scroll one, and that's the reason why they are disabled by default. 4 - These are the defaults for each compiler respectively.

Hopefully adding the presets for the remote origins will solve the most pressing issue. For the rest of the options I'll have to rethink the whole UI, popup + options page, because the Theme, Compiler and Content options inside the popup are not currently bound to origin, meaning that if you change them they are applied to all enabled origins.

simov avatar Aug 01 '18 09:08 simov

Excluding of origins in Markdown Viewer v5.1 is no longer needed. It is still there and it works the same way as before, but the content detection algorithm itself has a much better chance now to determine if content is supposed to be rendered or not. Which was the main issue for a lot of people.

Outside of that I may consider changing some of the default content options as well, but for now they will stay as they are. I want people to go there and find them, and know where they are, plus I don't know if absolutely everyone would need all of those options enabled, and enabling all of them might slow down a little bit the initial loading time too.

simov avatar Mar 18 '23 08:03 simov