Trusted, Automoderated users
17,538
edits
Line 43: | Line 43: | ||
# On Linux: <code>pandoc -f html -t mediawiki <(xclip -o) | xclip -sel c</code>. This command requires <code>sudo apt get install pandoc xclip</code> to be installed. | # On Linux: <code>pandoc -f html -t mediawiki <(xclip -o) | xclip -sel c</code>. This command requires <code>sudo apt get install pandoc xclip</code> to be installed. | ||
## The converted TOC is then in pasteboard. | ## The converted TOC is then in pasteboard. | ||
# Only replace the list part since the div container | # Only replace the list part since the div container |