Skip to content

Commit

Permalink
Formatting fix for command (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbodenmiller authored Apr 5, 2021
1 parent 681b494 commit 6b9bddd
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,18 +132,18 @@ Below is an example of regexp patterns used for autolinking at https://community
- https://www.regextester.com/.

## Configuration Management
The /autolink commands allow the users to easily edit the configurations.
The `/autolink` commands allow the users to easily edit the configurations.

Commands | Description | Usage
---|---|---|
list | Lists all configured links |
list \<*linkref*> | List a specific link which matched the link reference |
test \<*linkref*> test-text | Test a link on the text provided | /autolink test Visa 4356-7891-2345-1111 -- (4111222233334444)
enable \<*linkref*> | Enables the link | /autolink enable Visa
disable \<*linkref*> | Disable the link |/autolink disable Visa
add \<*name*> | Creates a new link with the name specified in the command | /autolink add Visa
delete \<*linkref*> | Delete the link | /autolink delete Visa
set \<*linkref*> \<*field*> *value* | Sets a link's field to a value <br> *Fields* - <br> <ul><li>Template - Sets the Template field</li><li>Pattern - Sets the Pattern field </li> <li> WordMatch - If true uses the [\b word boundaries](https://www.regular-expressions.info/wordboundaries.html) </li> <li> Scope - Sets the Scope field (`team` or `team/channel` or a whitespace-separated list thereof) </li> | <br> /autolink set Visa Pattern (?P<VISA>(?P<part1>4\d{3})[ -]?(?P<part2>\d{4})[ -]?(?P<part3>\d{4})[ -]?(?P<LastFour>[0-9]{4})) <br><br> /autolink set Visa Template VISA XXXX-XXXX-XXXX-$LastFour <br><br> /autolink set Visa WordMatch true <br><br> /autolink set Visa Scope team/townsquare <br><br>
list | Lists all configured links | `/autolink list`
list \<*linkref*> | List a specific link which matched the link reference | `/autolink list test`
test \<*linkref*> test-text | Test a link on the text provided | `/autolink test Visa 4356-7891-2345-1111 -- (4111222233334444)`
enable \<*linkref*> | Enables the link | `/autolink enable Visa`
disable \<*linkref*> | Disable the link | `/autolink disable Visa`
add \<*name*> | Creates a new link with the name specified in the command | `/autolink add Visa`
delete \<*linkref*> | Delete the link | `/autolink delete Visa`
set \<*linkref*> \<*field*> *value* | Sets a link's field to a value <br> *Fields* - <br> <ul><li>Template - Sets the Template field</li><li>Pattern - Sets the Pattern field </li> <li> WordMatch - If true uses the [\b word boundaries](https://www.regular-expressions.info/wordboundaries.html) </li> <li> Scope - Sets the Scope field (`team` or `team/channel` or a whitespace-separated list thereof) </li> | <br> `/autolink set Visa Pattern (?P<VISA>(?P<part1>4\d{3})[ -]?(?P<part2>\d{4})[ -]?(?P<part3>\d{4})[ -]?(?P<LastFour>[0-9]{4}))` <br><br> `/autolink set Visa Template VISA XXXX-XXXX-XXXX-$LastFour` <br><br> `/autolink set Visa WordMatch true` <br><br> `/autolink set Visa Scope team/townsquare` <br><br>


## Development
Expand Down

0 comments on commit 6b9bddd

Please sign in to comment.