Snapshot của codemirror/lang-markdown: 131★ · TypeScript. Markdown language support for the CodeMirror code editor
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
A source of language support for highlighting fenced code
blocks. When it is an array, the parser will use
LanguageDescription.matchLanguageName
with the fenced code info to find a matching language. When it
is a function, will be called with the info string and may
return a language or LanguageDescription object.
addKeymap?: boolean
Set this to false to disable installation of the Markdown
keymap.
extensions?: MarkdownExtension
Markdown parser
extensions
to add to the parser.
base?: Language
The base language to use. Defaults to
commonmarkLanguage.
completeHTMLTags?: boolean
By default, the extension installs an autocompletion source that
completes HTML tags when a < is typed. Set this to false to
disable this.
pasteURLAsLink?: boolean
The returned language contains
pasteURLAsLink as a support
extension unless you set this to false.
htmlTagLanguage?: LanguageSupport
By default, HTML tags in the document are handled by the HTML
language package with
tag matching turned off. You can pass in an alternative language
configuration here if you want.
markdownLanguage: Language
Language support for GFM plus
subscript, superscript, and emoji syntax.
commonmarkLanguage: Language
Language support for strict CommonMark.
insertNewlineContinueMarkup: StateCommand
This command, when invoked in Markdown context with cursor
selection(s), will create a new line with the markup for
blockquotes and lists that were active on the old line. If the
cursor was directly after the end of the markup for the old line,
trailing whitespace and list markers are removed from that line.
The command does nothing in non-Markdown context, so it should
not be used as the only binding for Enter (even in a Markdown
document, HTML and code regions might use a different language).
Returns a command like
insertNewlineContinueMarkup,
allowing further configuration.
config
nonTightLists?: boolean
By default, when pressing enter in a blank second item in a
tight (no blank lines between items) list, the command will
insert a blank line above that item, starting a non-tight list.
Set this to false to disable this behavior.
deleteMarkupBackward: StateCommand
This command will, when invoked in a Markdown context with the
cursor directly after list or blockquote markup, delete one level
of markup. When the markup is for a list, it will be replaced by
spaces on the first invocation (a further invocation will delete
the spaces), to make it easy to continue a list.
When not after Markdown block markup, this command will return
false, so it is intended to be bound alongside other deletion
commands, with a higher precedence than the more generic commands.
markdownKeymap: readonly KeyBinding[]
A small keymap with Markdown-specific bindings. Binds Enter to
insertNewlineContinueMarkup
and Backspace to
deleteMarkupBackward.
pasteURLAsLink: Extension
An extension that intercepts pastes when the pasted content looks
like a URL and the selection is non-empty and selects regular
text, making the selection a link with the pasted URL as target.
codemirror/lang-markdown có 131 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/codemirror/lang-markdown. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
codemirror/lang-markdown có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho codemirror/lang-markdown. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
codemirror/lang-markdown có trang demo không?
Dự án có trang chủ ở https://codemirror.net. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
codemirror/lang-markdown còn đang phát triển không?
Commit gần nhất trên codemirror/lang-markdown là 4 tháng trước (theo timestamp GitHub). Repo có 34 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
codemirror/lang-markdown dùng license gì?
codemirror/lang-markdown phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
codemirror/lang-markdown viết bằng ngôn ngữ gì?
codemirror/lang-markdown chủ yếu viết bằng TypeScript. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc thêm về codemirror/lang-markdown ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/codemirror/lang-markdown là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về lang-markdown?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về lang-markdown.