Warning: Undefined array key "theme" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 30

Warning: Undefined array key "lines" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 35

Warning: Undefined array key "hl" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 51

Warning: Undefined array key "lines" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 35

Warning: Undefined array key "hl" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 51

Warning: Undefined array key "theme" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 30

Warning: Undefined array key "lines" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 35

Warning: Undefined array key "hl" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 51

Warning: Undefined array key "theme" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 30

Warning: Undefined array key "lines" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 35

Warning: Undefined array key "hl" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 51

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/public/wiki.obormot.net/cookbook/simple_html_dom.php on line 705

Warning: Undefined array key "theme" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 30

Warning: Undefined array key "lines" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 35

Warning: Undefined array key "hl" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 51

Warning: Undefined array key "theme" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 30

Warning: Undefined array key "lines" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 35

Warning: Undefined array key "hl" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 51

Warning: Undefined array key "theme" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 30

Warning: Undefined array key "hl" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 51

Warning: Undefined array key "theme" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 30

Warning: Undefined array key "lines" in /home/public/wiki.obormot.net/cookbook/pastebin-embed.php on line 35
New OborWiki feature: Pastebin embedding — OborWiki
Blog »

New OborWiki feature: Pastebin embedding

December 24, 2017, at 04:47 PM by Obormot in Features, Updates (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:)
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. package main
  2. import "fmt"
  3.  
  4. func main() {
  5.     fmt.Println("Hello World")
  6. }

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:)

Leave a reply
Your name (required):

Your comment (required):


Enter value: Captcha