You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Specifying Number of Jobs for Parallel Processing](#specifying-number-of-jobs-for-parallel-processing)
@@ -305,6 +306,18 @@ Currently only the case of use of `superfences` has been requested as outlined i
305
306
306
307
Do also see the Diagnostics sections below, demonstrating diagnostics emitted from [Python Markdown][markdown], which might require the use of an extension.
307
308
309
+
##### Extra Configuration for Superfences
310
+
311
+
Some statis site generators like Vitepress or Docusaurus use the code fence line for extra information, for example line highlighting or code block headlines. Superfencing
312
+
would break here and spelling would be checked in the specific code section. To avoid this you can set the `relaxed_headers` option to `true`.
313
+
314
+
```yaml
315
+
- pyspelling.filters.markdown:
316
+
markdown_extensions:
317
+
- pymdownx.superfences:
318
+
relaxed_headers: true
319
+
```
320
+
308
321
## Spellcheck Configuration File
309
322
310
323
You can either provide a path to the configuration file or save a file in the root of your repository with a predefined name (list below). If `config_path` is provided then it will be used and the other configuration options will be ignored. If `config_path` is not provided then the repository is searched after a first match
0 commit comments