Skip to content

Document markdown-toggle-fontify-code-blocks-natively usage hint #877

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,18 @@ provides an interface to all of the possible customizations:
interactively by pressing <kbd>C-c C-x C-f</kbd>
(`markdown-toggle-fontify-code-blocks-natively`).

To avoid the cost of expensive resources in `prog-mode` hooks
which are invoked whenever a markdown fontification buffer is
created for each language mode, consider adding something like
the following to your hook:

```elisp
(when (or buffer-file-name
(not (string-prefix-p " " (buffer-name))))
;; do something expensive, such as
(eglot-ensure))
```

* `markdown-gfm-uppercase-checkbox` - When non-nil, complete GFM
task list items with `[X]` instead of `[x]` (default: `nil`).
This is useful for compatibility with `org-mode`, which doesn't
Expand Down
Loading