Join Us

Want to make your own localized www.materialdoc.com site?

Contact me via e-mail or hangout: dmytrodanylyk [at] gmail [dot] com.

  1. We are using Ghost as a blogging platform and openshift as a hosting (which offer one click ghost set-up).
  2. After installation navigate to www.yoursite.com/admin and setup site.
  3. Override default ghost theme (casper) css file which is located \content\themes\casper\assets\css with our version.
  4. Navigate to www.yoursite.com/ghost/settings/code-injection and add syntax highlight code to blog footer section:
<!--Syntax highlight Start-->  
<link rel="stylesheet" type="text/css"  
      href="http://www.materialdoc.com/assets/css/prettify.css">
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?lang=java&autoload=true">  
</script>  
<!--Syntax highlight End-->  

Now to highlight code use:

 ```prettyprint

    // your code here
    // and here

 ```

Don't forget to add link to www.materialdoc.com in navigation menu.