Now works with Fedora
This commit is contained in:
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 José Ferreira
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@ -0,0 +1,22 @@
|
||||
# Available matches
|
||||
| Trigger | Replace |
|
||||
|--------------|--------------------------------------------------------|
|
||||
| :block: | \```🖰\n``` |
|
||||
| :code: | \`🖰` |
|
||||
| :h1: | # |
|
||||
| :h2: | ## |
|
||||
| :h3: | ### |
|
||||
| :h4: | #### |
|
||||
| :h5: | ##### |
|
||||
| :h6: | ###### |
|
||||
| :bold: | \*\*🖰** |
|
||||
| :italic: | \*🖰\* |
|
||||
| :strike: | \~\~🖰~~ |
|
||||
| :url: | \[🖰]() |
|
||||
| :image: | !\[](🖰) |
|
||||
| :horizontal: | ___\n |
|
||||
| :task: | - [ ] |
|
||||
| :donetask: | - [x] |
|
||||
| :collapse: | \<details>\<summary>🖰\</summary>\n\<p>\n\n\</p>\n\</details> |
|
||||
|
||||
**Note: The 🖰 symbol is where your mouse cursor will be after the trigger and \n represents a new line.**
|
@ -0,0 +1,7 @@
|
||||
author: "Jos\xE9 Ferreira"
|
||||
description: A simple package to make writing Markdown easier
|
||||
name: markdown-shortcuts
|
||||
title: Markdown shortcuts
|
||||
version: 0.1.0
|
||||
homepage: "https://github.com/jpmvferreira/espanso-mega-pack"
|
||||
tags: ["markdown", "development", "writing"]
|
@ -0,0 +1,2 @@
|
||||
---
|
||||
hub
|
@ -0,0 +1,65 @@
|
||||
name: markdown-shortcuts
|
||||
parent: default
|
||||
|
||||
matches:
|
||||
- triggers: [":block:", ":mb:"]
|
||||
replace: |-
|
||||
```$|$
|
||||
```
|
||||
force_clipboard: true
|
||||
|
||||
- triggers: [":code:", ":mc:"]
|
||||
replace: |-
|
||||
`$|$`
|
||||
force_clipboard: true
|
||||
|
||||
- trigger: ":h1:"
|
||||
replace: "#"
|
||||
|
||||
- trigger: ":h2:"
|
||||
replace: "##"
|
||||
|
||||
- trigger: ":h3:"
|
||||
replace: "###"
|
||||
|
||||
- trigger: ":h4:"
|
||||
replace: "####"
|
||||
|
||||
- trigger: ":h5:"
|
||||
replace: "#####"
|
||||
|
||||
- trigger: ":h6:"
|
||||
replace: "######"
|
||||
|
||||
- trigger: ":bold:"
|
||||
replace: "**$|$**"
|
||||
|
||||
- trigger: ":italic:"
|
||||
replace: "*$|$*"
|
||||
|
||||
- trigger: ":strike:"
|
||||
replace: "~~$|$~~"
|
||||
|
||||
- trigger: ":url:"
|
||||
replace: "[$|$]()"
|
||||
|
||||
- triggers: [":image:", ":img:"]
|
||||
replace: ""
|
||||
|
||||
- triggers: [":horizontal:", ":mh:"]
|
||||
replace: "___"
|
||||
|
||||
- triggers: [":task:", ":mt:"]
|
||||
replace: "- [ ] "
|
||||
|
||||
- triggers: [":taskdone:", ":mtd:"]
|
||||
replace: "- [x] "
|
||||
|
||||
- triggers: [":collapse:", ":mcol:"]
|
||||
replace: |-
|
||||
<details>
|
||||
<summary></summary>
|
||||
|
||||
$|$
|
||||
</details>
|
||||
force_clipboard: true
|
Reference in New Issue
Block a user