mirror of
https://github.com/RyanGreenup/cadmus.git
synced 2025-02-19 20:27:49 +01:00
TODO Added Page Import
This commit is contained in:
parent
b74ec9b908
commit
a0cb08fb0c
@ -202,7 +202,7 @@ CadmusTools () {
|
||||
;;
|
||||
fix) shift; "${script_dir}/tools/fixLink.sh" "${NOTES_DIR}" && exit 0
|
||||
;;
|
||||
create) shift; "${script_dir}/tools/therelscript.sh" "${NOTES_DIR}" ${@:-} && exit 0
|
||||
page-import) shift; xclip -o -selection clipboard | xargs curl | pandoc -f html -t markdown_github+tex_math_dollars --atx-headers | xclip -selection clipboard && exit 0
|
||||
;;
|
||||
--*) >&2 echo "bad option $1"
|
||||
;;
|
||||
@ -226,9 +226,9 @@ function ToolsHelp() {
|
||||
echo -e " \e[1;93m webtitle \e[0m \e[1;34m ┊┊┊ \e[0m✀ Transforms the Clipboard 📋 to a Link"
|
||||
echo -e " \e[1;93m backlinks \e[0m \e[1;34m ┊┊┊ \e[0m✀ Takes the Abs Path of a Note from the Clipboard 📋"
|
||||
echo -e " \e[1;93m \e[0m \e[1;34m ┊┊┊ \e[0m and prints out backlinks (Abs Path)"
|
||||
echo -e " \e[1;93m TODO fix \e[0m \e[1;34m ┊┊┊ 🎆 \e[0m Fix the relative path in the clipboard 📋 "
|
||||
echo -e " \e[1;93m TODO link \e[0m \e[1;34m ┊┊┊ 🎆 \e[0m Generate a link to another note from the current in the clipboard"
|
||||
echo -e " \e[1;32m TODO Import WebPage \e[0m \e[1;34m ┊┊┊ 🎆 \e[0m Search through Notes using Recoll"
|
||||
echo -e " \e[1;93m fix \e[0m \e[1;34m ┊┊┊ 🎆 \e[0m Fix the relative path in the clipboard 📋 "
|
||||
echo -e " \e[1;93m link \e[0m \e[1;34m ┊┊┊ 🎆 \e[0m Generate a link to another note from the current in the clipboard"
|
||||
echo -e " \e[1;32m page-import \e[0m \e[1;34m ┊┊┊ 🎆 \e[0m Transform Clipboard from URL to corresponding Markdown"
|
||||
echo
|
||||
echo -e " \e[3m\e[1m• Legend\e[0m "
|
||||
echo -e " ✀ Works with the clipboard for input/output."
|
||||
|
2
todo.org
2
todo.org
@ -85,6 +85,8 @@ As opposed to using its own implementation.
|
||||
** TODO [#C] If fixLink used skim not fzf I could remove a dependency
|
||||
** TODO [#B] LinkMarkdown
|
||||
If a notename that you point to (like choose from fzf) has the same name as a folder (think julia.md) then the link you get back is a fucking mess.
|
||||
** TODO page-import
|
||||
This doesn't work for $$, fix that.
|
||||
|
||||
* TODO [#A] export
|
||||
* TODO [#A] convert
|
||||
|
Loading…
x
Reference in New Issue
Block a user