Github gist oneboxes don't respect line numbers


(Allen - Watchman Monitoring) #1

I wanted to point out the content of webhook sent by discourse, so I pasted

https://gist.github.com/YesThatAllen/8e6f835042a4fc6fb09c9dfee2163e2c#file-discourse_webhook_data-txt-L8-L14

I would have expected the onebox to start at line 8, but it’s starting at line 1.


(cpradio) #2

I ran into that just this past week too. Not sure but I think it may require a custom onebox.


(Sam Saffron) #3

If we could somehow reuse our git onebox here with gist it would probably be best.