Last active
January 23, 2016 03:39
-
-
Save appkr/821abe5d00ca3050f8f8 to your computer and use it in GitHub Desktop.
Embed gist files in page (capable of selecting part of lines, hightlight...)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layouts.master') | |
@section('content') | |
<div> | |
{{--To correctly styling as we specified, we can use div element instead of code--}} | |
<code data-gist-id="baaa8af6ac065998f417" data-gist-line="1-11" data-gist-highlight-line="1,3,5" {{--data-gist-hide-footer="true"--}} data-gist-show-spinner="true"></code> | |
</div> | |
@stop | |
@section('script') | |
{{--https://github.com/blairvanderhoof/gist-embed--}} | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/gist-embed/gist-embed.min.js"></script> | |
@stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment