Skip to content

Instantly share code, notes, and snippets.

View Oxyrus's full-sized avatar
🇨🇴

Andrés Pérez Oxyrus

🇨🇴
View GitHub Profile
@Oxyrus
Oxyrus / gh-like.css
Last active September 13, 2015 17:36 — forked from somebox/gh-like.css
github markdown css+script with syntax highlighting. Works with http://markedapp.com
/*
Some simple Github-like styles, with syntax highlighting CSS via Pygments.
*/
body{
font-family: helvetica, arial, freesans, clean, sans-serif;
color: #333;
background-color: #fff;
border: none;
line-height: 1.5;
margin: 2em 3em;
https://gist.github.com/somebox/1082608
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = 'oxyrus';
var disqus_identifier = '2';
var disqus_title = 'Whatever';
var disqus_url = 'http://localhost:3000/posts/2'
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
<%= simple_form_for @article do |f| %>
<%= f.input :title, label: "Title of the article" %>
<%= f.text_area :body, :input_html => { :class => "tinymce" }, :rows => 20, :cols => 60 %>
<%= f.input :description, label: "Short description of the article" %>
<%= f.input :header, label: "Header image" %>
<%= f.button :submit %>
<%= tinymce %>
<%end%>