Canvas Markdown

Adds a markdown editor to Canvas

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
theusaf
일일 설치 수
0
총 설치 수
23
평점
0 0 0
버전
3.0.2
생성일
2023-01-17
갱신일
2024-01-27
크기
41.5KB
라이선스
MIT
적용 사이트
모든 사이트

Canvas Markdown

This userscript allows you to write your Canvas assignments and pages in Markdown.

Installation

To install this user script, you will need a userscript manager, such as Tampermonkey.

  • You can install this script from Greasy Fork.
  • You can also install this directly from GitHub.

Usage

Whenever a Canvas text field is detected, a couple of buttons will be placed next to the HTML editor button.

Clicking on the Markdown button (M🠗) will open the Markdown editor. Click it again to close the editor.

The editor has two modes: Pretty and raw.

  • Pretty mode uses CodeMirror to provide syntax highlighting and line numbers. However, it disables spellcheck and auto-complete.
  • Raw mode is a plain text area with spellcheck and auto-complete enabled.

There is also a settings button (M⚙) that allows you to customize the styles of certain elements in the output. These settings are saved in your browser's local storage.

You can also download the settings as a JSON file and upload them again on another device or browser.

Features

  • Markdown editor (duh)
  • Syntax highlighting
  • Code blocks (with syntax highlighting for many languages)
  • Customizable styles

Things to Note

This user script stores the Markdown source embedded in the HTML value for the assignment as a comment. Changes made to the assignment in the Canvas UI will not be reflected in the Markdown source. Switching back to the Markdown editor will overwrite the HTML value with the Markdown source.

Dependencies

This user script relies on third-party libraries to function. These libraries are imported during runtime from the following sources: (See the /lib directory for more information)