Skip to content

question: how do I ignore specific types of codeblocks? #174

@clubanderson

Description

@clubanderson

In our project we are scanning all .md files. Those files contain blocks of code that are to be executed, and other blocks that are not intended to be executed - these blocks are just output from the commands. The output blocks contain UIDs typically. These fail a spellcheck of course. I want to spellcheck codeblocks that have commands to run which are inside:

command-to-run.sh

and ignore blocks that have output:

output 477fdjjh3-dskjd-jkjkjsd

what do you suggest I use for ignoring this type of input to pyspelling. Both blocks are wrapped in when converted to html, but I ignore the generated files.

example of what we are spellchecking is https://docs.kubestellar.io/main/Coding%20Milestones/PoC2023q1/example1/

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    S: triageIssue needs triage.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions