Update highlighted color in markdown so I can see it!

This commit is contained in:
Gabriel Brown
2026-05-14 11:42:59 -04:00
parent 210bdbdddc
commit 19b8ec2542
6 changed files with 61 additions and 41 deletions
+2 -5
View File
@@ -10,19 +10,16 @@ export SSH_ASKPASS_REQUIRE=prefer
export CARGO_PATH="$HOME/.cargo"
export BUN_INSTALL="$HOME/.bun"
export PYENV_ROOT="$HOME/.pyenv"
export PNPM_HOME="$HOME/.local/share/pnpm"
export NVM_DIR="$HOME/.nvm"
export ANDROID_SDK_HOME="$HOME/.local/share/Android"
export GOPATH="$HOME/.local/share/go"
export DOTNETPATH="$HOME/.dotnet/tools"
# Set complete path
export PATH="$HOME/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PANAMA_PATH/bin:$BUN_INSTALL/bin:$CARGO_PATH/bin:$PNPM_HOME:$PYENV_ROOT/bin:$HOME/.rbenv/bin:/usr/lib/ccache/bin/:$GOPATH/bin:$DOTNETPATH"
export PATH="$HOME/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PANAMA_PATH/bin:$BUN_INSTALL/bin:$CARGO_PATH/bin:$PYENV_ROOT/bin:$HOME/.rbenv/bin:/usr/lib/ccache/bin/:$GOPATH/bin:$DOTNETPATH"
# Nvm
set -h
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
source /etc/profile.d/nvm.sh
# Zoxide
eval "$(zoxide init bash)"
@@ -1,7 +1,7 @@
# Available matches
| Trigger | Replace |
|--------------|--------------------------------------------------------|
| :block: | \```🖰\n``` |
|--------------|-----------------------------------------------------------------|
| :block: | \```🖰<br>``` |
| :code: | \`🖰` |
| :h1: | # |
| :h2: | ## |
@@ -14,9 +14,10 @@
| :strike: | \~\~🖰~~ |
| :url: | \[🖰]() |
| :image: | !\[](🖰) |
| :horizontal: | ___\n |
| :horizontal: | ___<br> |
| :task: | - [ ] |
| :donetask: | - [x] |
| :collapse: | \<details>\<summary>🖰\</summary>\n\<p>\n\n\</p>\n\</details> |
| :collapse: | \<details><br>\<summary>\</summary><br>🖱<br>\</details> |
| :comment: | \<\!--- 🖱 --> |
**Note: The 🖰 symbol is where your mouse cursor will be after the trigger and \n represents a new line.**
**Note**: The symbol "🖰" denotes where your mouse cursor will be after the trigger.
@@ -2,6 +2,6 @@ author: "Jos\xE9 Ferreira"
description: A simple package to make writing Markdown easier
name: markdown-shortcuts
title: Markdown shortcuts
version: 0.1.0
version: 0.2.0
homepage: "https://github.com/jpmvferreira/espanso-mega-pack"
tags: ["markdown", "development", "writing"]
@@ -1,65 +1,83 @@
name: markdown-shortcuts
parent: default
matches:
- triggers: [":block:", ":mb:"]
- trigger: ":block:"
label: "Markdown - Code block"
replace: |-
```$|$
```
force_clipboard: true
- triggers: [":code:", ":mc:"]
- trigger: ":code:"
label: "Markdown - Inline code"
replace: |-
`$|$`
force_clipboard: true
- trigger: ":h1:"
label: "Markdown - Header1"
replace: "#"
- trigger: ":h2:"
label: "Markdown - Header2"
replace: "##"
- trigger: ":h3:"
label: "Markdown - Header3"
replace: "###"
- trigger: ":h4:"
label: "Markdown - Header4"
replace: "####"
- trigger: ":h5:"
label: "Markdown - Header5"
replace: "#####"
- trigger: ":h6:"
label: "Markdown - Header6"
replace: "######"
- trigger: ":bold:"
label: "Markdown - Bold"
replace: "**$|$**"
- trigger: ":italic:"
label: "Markdown - Italic"
replace: "*$|$*"
- trigger: ":strike:"
label: "Markdown - Strikethrough"
replace: "~~$|$~~"
- trigger: ":url:"
label: "Markdown - URL"
replace: "[$|$]()"
- triggers: [":image:", ":img:"]
- trigger: ":img:"
label: "Markdown - Image"
replace: "![]($|$)"
- triggers: [":horizontal:", ":mh:"]
- trigger: ":horizontal:"
label: "Markdown - Horizontal line"
replace: "___"
- triggers: [":task:", ":mt:"]
- trigger: ":task:"
label: "Markdown - Task"
replace: "- [ ] "
- triggers: [":taskdone:", ":mtd:"]
- trigger: ":taskdone:"
label: "Markdown - Task completed"
replace: "- [x] "
- triggers: [":collapse:", ":mcol:"]
- trigger: ":collapse:"
label: "Markdown - Collapse block"
replace: |-
<details>
<summary></summary>
$|$
</details>
force_clipboard: true
- trigger: ":comment:"
label: "Markdown - Comment"
replace: "<!--- $|$ -->"
force_clipboard: true
+4
View File
@@ -10,6 +10,10 @@ return {
colors.fg_gutter = '#787f93'
colors.terminal_black = '#828bb8'
end,
on_highlights = function(hl, c)
hl['@markup.raw.markdown_inline'] = { bg = c.bg_highlight, fg = c.fg }
hl['RenderMarkdownCodeInline'] = { bg = c.bg_highlight, fg = c.fg }
end,
},
config = function(_,opts)
require'tokyonight'.setup(opts)
+3 -3
View File
@@ -38,10 +38,10 @@ return {
{ name = 'supermaven' },
--{ name = 'copilot' },
}, {
{ name = 'buffer', keyword_length = 4 },
--{ name = 'buffer', keyword_length = 4 },
{ name = 'path' },
{ name = 'dotenv' },
{ name = 'emoji' },
--{ name = 'dotenv' },
--{ name = 'emoji' },
}),
formatting = {
format = lspkind.cmp_format({