mirror of
https://github.com/samsonjs/blog.git
synced 2026-04-27 15:07:41 +00:00
fix inline stylesheet, does not pass markdown :/
This commit is contained in:
parent
6f115bfbc3
commit
c9e6ae4f49
1 changed files with 1 additions and 16 deletions
|
|
@ -3,6 +3,7 @@ Date: February 18, 2006
|
||||||
Timestamp: 1140331680
|
Timestamp: 1140331680
|
||||||
Author: sjs
|
Author: sjs
|
||||||
Tags: textmate, rails, hacking, rails, snippets, textmate
|
Tags: textmate, rails, hacking, rails, snippets, textmate
|
||||||
|
Styles: typocode
|
||||||
----
|
----
|
||||||
|
|
||||||
<p>My arsenal of snippets and macros in TextMate is building as I read through the rails canon, <a href="http://web.archive.org/web/20060615034816/http://www.pragmaticprogrammer.com/titles/rails/" title="Agile Web Development With Rails">Agile Web Development…</a> I’m only 150 pages in so I haven’t had to add much so far because I started with the bundle found on the <a href="http://web.archive.org/web/20060615034816/http://wiki.rubyonrails.org/rails/pages/TextMate">rails wiki</a>. The main ones so far are for migrations.</p><p>Initially I wrote a snippet for adding a table and one for dropping a table, but I don’t want to write it twice every time! If I’m adding a table in <strong>up</strong> then I probably want to drop it in <strong>down</strong>.</p>
|
<p>My arsenal of snippets and macros in TextMate is building as I read through the rails canon, <a href="http://web.archive.org/web/20060615034816/http://www.pragmaticprogrammer.com/titles/rails/" title="Agile Web Development With Rails">Agile Web Development…</a> I’m only 150 pages in so I haven’t had to add much so far because I started with the bundle found on the <a href="http://web.archive.org/web/20060615034816/http://wiki.rubyonrails.org/rails/pages/TextMate">rails wiki</a>. The main ones so far are for migrations.</p><p>Initially I wrote a snippet for adding a table and one for dropping a table, but I don’t want to write it twice every time! If I’m adding a table in <strong>up</strong> then I probably want to drop it in <strong>down</strong>.</p>
|
||||||
|
|
@ -59,19 +60,3 @@ end
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>I’ll be adding more snippets and macros. There should be a central place where the rails bundle can be improved and extended. Maybe there is…</p>
|
<p>I’ll be adding more snippets and macros. There should be a central place where the rails bundle can be improved and extended. Maybe there is…</p>
|
||||||
|
|
||||||
<!-- don't judge me -->
|
|
||||||
<style>
|
|
||||||
code {
|
|
||||||
font-family: "Andale Mono", "Lucida Typewriter", "Bitstream Vera Sans Mono", fixed-width, monospace;
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
background: #555;
|
|
||||||
border: 1px dashed #5189ea;
|
|
||||||
margin-bottom: 30px;
|
|
||||||
margin-top: -10px;
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue