Skip to content

Instantly share code, notes, and snippets.

View letientai299's full-sized avatar
💭
Need more caffeine....

Tai letientai299

💭
Need more caffeine....
View GitHub Profile
@letientai299
letientai299 / mermaid-pandoc-guide.md
Last active April 28, 2025 22:01
Render PDF from markdown that using mermaid

Render PDF from Markdown that using mermaid

You will need:

This guide is based on Ubuntu, for other OS, use their package manager instead.

# Update software {{{2 #
update-software() {
# Ubuntu {{{1 #
if command -v apt-get > /dev/null 2>&1; then
echo "--------------------------------------------------------------------------------"
echo "- Update software for Ubuntu"
echo "----------------------------------------"
sudo apt update
sudo apt full-upgrade -y
{
"$schema": "https://puremourning.github.io/vimspector/schema/vimspector.schema.json",
"configurations": {
"launch": {
"adapter": "CodeLLDB",
"configuration": {
"type": "lldb",
"filetypes": ["rust"],
"request": "launch",
"program": "${Executable}",