Skip to content

How to filter toml from Markdown #148

Answered by facelessuser
RobinBeismann asked this question in Q&A
Discussion options

You must be logged in to vote

I do not see anything obviously wrong. I'm assuming this is how you are avoiding the Toml header?

  - pyspelling.filters.context:
      context_visible_first: true
      escapes: '\\[\\`~]'
      delimiters:
      - open: '(?s)^\+{3}$'
        close: '^\+{3}$'

If so, it seemed to work for me. I tested it by copying this to the top of one of my Markdown files which is under spell testing, nothing in it was picked up. Unless I'm missing some subtle mistake in your config, it should work just fine.

+++
title = "PowerShell based PRTG Sensor Discovery"
date = "2021-11-08"
description = "Use PowerShell to discover sensors on systems."
featured = true
tags = [
    "Robin Beismann"
]
categories =…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@RobinBeismann
Comment options

@facelessuser
Comment options

Answer selected by RobinBeismann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants