Skip to content
Discussion options

You must be logged in to vote

@FelipeRearden, thank you for explaining!

@e-alizadeh, I'm sorry to hear you've been having trouble!

If your pattern is named "Replace abc with def", then (1) copying the text below to your clipboard, (2) going into the Apply Patterns settings, (3) Clicking "Import" under the Commands section at the bottom of the settings page, and (4) reloading / re-starting Obsidian should add a command to the Command Palette. In addition, the Pattern itself must have at least one Rule within it to show up in the Command Palette.

To confirm, does this work for you?

The text to copy:

[
  {
    "name": "Replace abc with def",
    "patternFilter": "Replace abc with def",
    "selection": false,
    "lines"…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@e-alizadeh
Comment options

@jglev
Comment options

Answer selected by jglev
@e-alizadeh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
resolved Question has been resolved / answered
3 participants