Skip to content

Add replace action for vocabs #1068

@acarnefixw

Description

@acarnefixw

Check for existing issues

  • Completed

Describe the feature

Whenever you add a term to the accept.txt file of a Vocab, helpful suggested text is created for when the capitalization is incorrect.
(For example, "Use 'LaTeX' instead of 'latex'").
It would be convenient if there would also be an action defined to automatically replace the text with the correct version.
I can do this currently by defining a rule like this:

extends: substitution
message: Use '%s' instead of '%s'
swap:
  (?i)latex: LaTeX
action:
  name: replace

Would it be possible to have this action automatically defined for vocab terms?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions