December 24, 2017, at 04:47 PM (0 comments)
The Pastebin Embed recipe is now installed on OborWiki (off by default; you can enable it via the Configurator). This recipe lets you embed Pastebin pastes in a wikipage.
See the Pastebin Embed info page for documentation/instructions, and see below for some usage examples.
Contents
Default settings
(:pastebin-embed T3rxzk4N:) |
|
Dark theme
(:pastebin-embed T3rxzk4N theme=dark:) |
|
No footer
(:pastebin-embed T3rxzk4N nofooter:) |
|
No JS
(:pastebin-embed T3rxzk4N no-js:) |
No line numbers
(:pastebin-embed T3rxzk4N nolinenums:) |
|
Raw (plain text)
(:pastebin-embed T3rxzk4N raw:) |
package main import "fmt" func main() { fmt.Println("Hello World") } |
Displaying only some lines of a paste
(:pastebin-embed T3rxzk4N lines=2-4:) |
|
Highlighting some lines of a paste
(:pastebin-embed T3rxzk4N hl=4-6:) |
|