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 CARGO_PATH="$HOME/.cargo"
export BUN_INSTALL="$HOME/.bun" export BUN_INSTALL="$HOME/.bun"
export PYENV_ROOT="$HOME/.pyenv" export PYENV_ROOT="$HOME/.pyenv"
export PNPM_HOME="$HOME/.local/share/pnpm"
export NVM_DIR="$HOME/.nvm" export NVM_DIR="$HOME/.nvm"
export ANDROID_SDK_HOME="$HOME/.local/share/Android" export ANDROID_SDK_HOME="$HOME/.local/share/Android"
export GOPATH="$HOME/.local/share/go" export GOPATH="$HOME/.local/share/go"
export DOTNETPATH="$HOME/.dotnet/tools" export DOTNETPATH="$HOME/.dotnet/tools"
# Set complete path # 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 # Nvm
set -h source /etc/profile.d/nvm.sh
[ -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
# Zoxide # Zoxide
eval "$(zoxide init bash)" eval "$(zoxide init bash)"
@@ -1,7 +1,7 @@
# Available matches # Available matches
| Trigger | Replace | | Trigger | Replace |
|--------------|--------------------------------------------------------| |--------------|-----------------------------------------------------------------|
| :block: | \```🖰\n``` | | :block: | \```🖰<br>``` |
| :code: | \`🖰` | | :code: | \`🖰` |
| :h1: | # | | :h1: | # |
| :h2: | ## | | :h2: | ## |
@@ -14,9 +14,10 @@
| :strike: | \~\~🖰~~ | | :strike: | \~\~🖰~~ |
| :url: | \[🖰]() | | :url: | \[🖰]() |
| :image: | !\[](🖰) | | :image: | !\[](🖰) |
| :horizontal: | ___\n | | :horizontal: | ___<br> |
| :task: | - [ ] | | :task: | - [ ] |
| :donetask: | - [x] | | :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 description: A simple package to make writing Markdown easier
name: markdown-shortcuts name: markdown-shortcuts
title: Markdown shortcuts title: Markdown shortcuts
version: 0.1.0 version: 0.2.0
homepage: "https://github.com/jpmvferreira/espanso-mega-pack" homepage: "https://github.com/jpmvferreira/espanso-mega-pack"
tags: ["markdown", "development", "writing"] tags: ["markdown", "development", "writing"]
@@ -1,65 +1,83 @@
name: markdown-shortcuts
parent: default
matches: matches:
- triggers: [":block:", ":mb:"] - trigger: ":block:"
label: "Markdown - Code block"
replace: |- replace: |-
```$|$ ```$|$
``` ```
force_clipboard: true force_clipboard: true
- triggers: [":code:", ":mc:"] - trigger: ":code:"
label: "Markdown - Inline code"
replace: |- replace: |-
`$|$` `$|$`
force_clipboard: true force_clipboard: true
- trigger: ":h1:" - trigger: ":h1:"
label: "Markdown - Header1"
replace: "#" replace: "#"
- trigger: ":h2:" - trigger: ":h2:"
label: "Markdown - Header2"
replace: "##" replace: "##"
- trigger: ":h3:" - trigger: ":h3:"
label: "Markdown - Header3"
replace: "###" replace: "###"
- trigger: ":h4:" - trigger: ":h4:"
label: "Markdown - Header4"
replace: "####" replace: "####"
- trigger: ":h5:" - trigger: ":h5:"
label: "Markdown - Header5"
replace: "#####" replace: "#####"
- trigger: ":h6:" - trigger: ":h6:"
label: "Markdown - Header6"
replace: "######" replace: "######"
- trigger: ":bold:" - trigger: ":bold:"
label: "Markdown - Bold"
replace: "**$|$**" replace: "**$|$**"
- trigger: ":italic:" - trigger: ":italic:"
label: "Markdown - Italic"
replace: "*$|$*" replace: "*$|$*"
- trigger: ":strike:" - trigger: ":strike:"
label: "Markdown - Strikethrough"
replace: "~~$|$~~" replace: "~~$|$~~"
- trigger: ":url:" - trigger: ":url:"
label: "Markdown - URL"
replace: "[$|$]()" replace: "[$|$]()"
- triggers: [":image:", ":img:"] - trigger: ":img:"
label: "Markdown - Image"
replace: "![]($|$)" replace: "![]($|$)"
- triggers: [":horizontal:", ":mh:"] - trigger: ":horizontal:"
label: "Markdown - Horizontal line"
replace: "___" replace: "___"
- triggers: [":task:", ":mt:"] - trigger: ":task:"
label: "Markdown - Task"
replace: "- [ ] " replace: "- [ ] "
- triggers: [":taskdone:", ":mtd:"] - trigger: ":taskdone:"
label: "Markdown - Task completed"
replace: "- [x] " replace: "- [x] "
- triggers: [":collapse:", ":mcol:"] - trigger: ":collapse:"
label: "Markdown - Collapse block"
replace: |- replace: |-
<details> <details>
<summary></summary> <summary></summary>
$|$ $|$
</details> </details>
force_clipboard: true 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.fg_gutter = '#787f93'
colors.terminal_black = '#828bb8' colors.terminal_black = '#828bb8'
end, 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) config = function(_,opts)
require'tokyonight'.setup(opts) require'tokyonight'.setup(opts)
+3 -3
View File
@@ -38,10 +38,10 @@ return {
{ name = 'supermaven' }, { name = 'supermaven' },
--{ name = 'copilot' }, --{ name = 'copilot' },
}, { }, {
{ name = 'buffer', keyword_length = 4 }, --{ name = 'buffer', keyword_length = 4 },
{ name = 'path' }, { name = 'path' },
{ name = 'dotenv' }, --{ name = 'dotenv' },
{ name = 'emoji' }, --{ name = 'emoji' },
}), }),
formatting = { formatting = {
format = lspkind.cmp_format({ format = lspkind.cmp_format({