Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Introduction

Currently, this userscript works at https://github.com/*/issues/*.

I will apply this userscript to more GitHub websites later (if time permits).

It enhances the capabilities of the original GitHub issue comments editor.

Installation

(To be added ...)

Usage

(To be added ...)

Main features of this userscript

  • Display the area of Write and Preview side by side at the same time
  • Real-time preview the markdown of the writing content
  • Freely resize the width of comments container with a slider (on the right of the fork button)
  • Hide/show the sidebar with a button (on the right of the slider above)
  • Remember the users' preferences at last time
  • Auto-resize the textarea when the contents of comments are changed
  • Show the originally hidden editor toolbar while previewing

Todo

  • Appearances

    • Choose an appropriate icon
    • Modify the layout of the slider and button
    • Have a try at GitHub Wide
    • Hide Preview tab
    • Remove the Styling with Markdown is supported text
  • Functions

    • Apply this userscript to more GitHub websites
      • Pull requests
      • Wikis
      • Discussions
    • Load the userscript immediately without freshing when jumping from the main page
    • Apply this userscript to New issue
    • Synchronize this userscript with Tampermonkey
    • Add a word counter
    • Add keyboard shortcuts
    • Export to .md and .html files
    • Improve markdown preview engine:
      • Take a look at the preview render extension: https://github.com/DrewML/octo-preview
      • Update preview with fixed interval or after certain number of inputs (debounce or throttle)
      • Remove the Loading preview ... page
      • Use a new engine: https://github.com/markedjs/marked
      • Support :emoji:
      • Clear preview content after the new comment is submitted
      • Support image links outside github websites
    • Fix potential bugs
  • Documents

    • Add installation tutorials
    • Add GIFs to show effects
      • Resize editor width
      • Real-time preview
      • Hide/show sidebar
  • Miscellaneous

    • Reply to Mottie's comment
    • Reply to darkred's comment

References

About

Enhance the capabilities of the original GitHub writing editor.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages