GithubHelp home page GithubHelp logo

javiermurillo / sinatra-markdown-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cesarsalazar/sinatra-markdown-blog

0.0 2.0 1.0 490 KB

A simple blogging mechanism for writers that code.

Ruby 100.00% JavaScript 0.01%

sinatra-markdown-blog's Introduction

Markdown based blog

After years of blogging over my own Wordpress and working with fantastic themes such as Hybrid, I decided to port my blog to Sinatra. The reason behind this move is that I'm not happy anymore with the amount of markup and styling generated by Wordpress. It's not bad, but at this point is not for me.

Considering that now I would tweak my site directly from the source, and because I use a git workflow, I decided to keep the contents in the source code as well. I know, I know, that's what databases were designed for. However, I feel that it's cleaner and simpler to keep it this way. As I'm using git, now I also have the advantage of having my content versioned as a default.

From the authoring perspective, I feel Markdown is the way to go. I'm tired of all those WYSIWYG menus and options. As a designer, I want to keep it simple and Markdown forces me to do this. It's also easier to write in Write Room and just copy the plain text to Textmate.

For those of you wondering what about advanced blogging features such as paging, cross-referencing, tagging, related posts and categories, here is my take. I feel blogging is evolving and such mechanisms belong somewhere else. Perhaps because I think about my blog as a crafted collection of short essays, I don't care about fancy navigation styles. What I care about is content and order.

This piece of Sinatra + Markdown (with templating support of HAML and SASS) is what I feel will bring my writing back to life. Let's see if such thing happens.

The MIT License (MIT)

Copyright (c) 2012 César Salazar

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

sinatra-markdown-blog's People

Contributors

javiermurillo avatar mariobonales avatar

Watchers

 avatar  avatar

Forkers

mariobonales

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.