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.
(To be added ...)
(To be added ...)
- Display the area of
WriteandPreviewside 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
forkbutton) - 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
-
Appearances
- Choose an appropriate icon
- Modify the layout of the slider and button
- Have a try at GitHub Wide
- Hide
Previewtab - Remove the
Styling with Markdown is supportedtext
-
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
.mdand.htmlfiles - 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
- Apply this userscript to more GitHub websites
-
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
- Conversations of this userscript with Mottie
- markedjs: A markdown parser and compiler. Built for speed.
- GitHub Flavored Markdown Spec
- requirejs: A file and module loader for JavaScript