Skip to content

Nautilus script to add Markdown to PDF conversion to the right click menu.

License

Notifications You must be signed in to change notification settings

Julynx/markdown_convert_nautilus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markdown_convert_nautilus

Nautilus script to add Markdown to PDF conversion to the right click menu.

Requirements

Installation

mkdir -p ~/.local/share/nautilus/scripts/Markdown/
wget https://raw.githubusercontent.com/Julynx/markdown_convert_nautilus/main/Convert%20to%20PDF -O ~/.local/share/nautilus/scripts/Markdown/Convert\ to\ PDF
wget https://raw.githubusercontent.com/Julynx/markdown_convert_nautilus/main/Convert%20to%20PDF%20\(live\) -O ~/.local/share/nautilus/scripts/Markdown/Convert\ to\ PDF\ \(live\)
chmod +x ~/.local/share/nautilus/scripts/Markdown/Convert\ to\ PDF
chmod +x ~/.local/share/nautilus/scripts/Markdown/Convert\ to\ PDF\ \(live\)

Usage

Note

If you just installed the markdown-convert package, you may need to log out and log back in for the command to be registered to your PATH.

  • Right click on any Markdown file, then click Scripts > Markdown > Convert to PDF.
  • For real-time conversion to PDF, click Scripts > Markdown > Convert to PDF (live).
  • You can also select a CSS file and a Markdown file, and the output PDF will be styled with the selected CSS file.

Uninstalling

To remove the entries from the right click menu, run:

rm ~/.local/share/nautilus/scripts/Markdown/Convert\ to\ PDF
rm ~/.local/share/nautilus/scripts/Markdown/Convert\ to\ PDF\ \(live\)

If you also wish to uninstall markdown-convert, run the following command:

pip uninstall markdown-convert -y

About

Nautilus script to add Markdown to PDF conversion to the right click menu.

Topics

Resources

License

Stars

Watchers

Forks

Languages