Title: Crayon &#8220;url&#8221; attribute able to pull source code from GitHub?
Last modified: September 12, 2016

---

# Crayon “url” attribute able to pull source code from GitHub?

 *  Resolved [deverly](https://wordpress.org/support/users/deverly/)
 * (@deverly)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/crayon-url-attribute-able-to-pull-source-code-from-github/)
 * Hello,
 * I have source code on GitHub. I would like to present it in WP page using Crayon
   Plugin.
 * 1. Edit WP page containing Crayon
    2. Open Crayon “Edit Code” dialog 3. Paste
   in URL from GitHub: [https://github.com/Marketo/SOAP-Sample-Code/blob/master/php/Authentication/CreateAuthHeader.php](https://github.com/Marketo/SOAP-Sample-Code/blob/master/php/Authentication/CreateAuthHeader.php)
   4. Click Save 5. Click Preview Changes 6. See error: “An error has occurred. 
   Please try again later.” 7. Repeat steps 2-7 and try “[http://&#8221](http://&#8221);
   instead of “[https://&#8221](https://&#8221);, same result. 8. This is what I
   see in “Text View”: `<pre class="lang:php decode:true" data-url="https://github.
   com/Marketo/SOAP-Sample-Code/blob/master/php/Authentication/CreateAuthHeader.
   php"></pre>`
 * Question: Is it possible to use GitHub as source repository with Crayon Plugin?
 * Thanks.
 * -Dave
    -  This topic was modified 9 years, 8 months ago by [deverly](https://wordpress.org/support/users/deverly/).
    -  This topic was modified 9 years, 8 months ago by [deverly](https://wordpress.org/support/users/deverly/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [deverly](https://wordpress.org/support/users/deverly/)
 * (@deverly)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/crayon-url-attribute-able-to-pull-source-code-from-github/#post-8174020)
 * Oops, I figured it out. Need to embed “raw” version of the file. e.g.
 * [https://raw.githubusercontent.com/Marketo/SOAP-Sample-Code/blob/master/php/Authentication/CreateAuthHeader.php](https://raw.githubusercontent.com/Marketo/SOAP-Sample-Code/blob/master/php/Authentication/CreateAuthHeader.php)

Viewing 1 replies (of 1 total)

The topic ‘Crayon “url” attribute able to pull source code from GitHub?’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/crayon-syntax-highlighter_b0c4c0.
   svg)
 * [Crayon Syntax Highlighter](https://wordpress.org/plugins/crayon-syntax-highlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/crayon-syntax-highlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/crayon-syntax-highlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/crayon-syntax-highlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/crayon-syntax-highlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/crayon-syntax-highlighter/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [deverly](https://wordpress.org/support/users/deverly/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/crayon-url-attribute-able-to-pull-source-code-from-github/#post-8174020)
 * Status: resolved