mctrl icon indicating copy to clipboard operation
mctrl copied to clipboard

MdView: To Do List

Open mity opened this issue 5 years ago • 0 comments

This is a list of ideas for improving the MdView control. (No guarantees though.)

  • [ ] Loading and displaying local images
  • [ ] Loading and displaying remote images (via http: and https: schemes)
  • [ ] Handle paragraphs composed only of images specially (a gallery?): should be likely centered (not left-aligned or justified as a text). Or maybe apply only to single images? Or larger images?
  • [ ] Support displaying remote Markdown documents via (via http: and https: schemes)
  • [ ] Show a tooltip when hovering over link (show title and if empty, show link destination)
  • [ ] Show a tooltip when hovering over an image (show image alt text if any)
  • [ ] Text selection support (Ctrl+A, mouse dragging, double-click to select a word)
  • [ ] Clipboard support (Ctrl+C)
  • [ ] Rendering of tables
  • [ ] Rendering of task lists
  • [ ] Interactivity of task lists (toggling the check box and some API so the application gets notified)
  • [ ] API for handling links (maybe a notification like MC_MDN_BEFORENAVIGATE. App should be able to handle them manually or block the action. See also Html control. Maybe should be similar.)
  • [ ] Syntax coloring support in code blocks (via some callbacks or notifications).
  • [ ] Generating automatic anchors for headers so that they can become target of a link (#name)
  • [ ] Allow application to get list of headers (and their anchors) so it may e.g. present a table of contents
  • [ ] Maybe the interactive elements (links, checkboxes in task lists) should get a keyboard focus and user could jump through them via keyboard?
  • [ ] Some styling options which would allow to use the control as a "better STATIC"
  • [ ] The control should remember the document URL and support relative links to other documents and/or images

mity avatar Feb 03 '20 22:02 mity