Skip to content

Instantly share code, notes, and snippets.

@wikimatze
Last active December 17, 2015 17:49
Show Gist options
  • Select an option

  • Save wikimatze/5648302 to your computer and use it in GitHub Desktop.

Select an option

Save wikimatze/5648302 to your computer and use it in GitHub Desktop.
Converting text

I want to transform the following text

...
Start with generating a new project with the canonical `padrino` command. In contrast to our "Hello World!" application
(app) before, we are using new options:


{: lang="bash" }
    $ mkdir ~/padrino-projects
    $ cd ~/padrino_projects
    $ padrino g project job-vacancy -d activerecord -t rspec -s jquery -e erb -a sqlite


Explanation of the fields commands:
...

Into

...
Start with generating a new project with the canonical `padrino` command. In contrast to our "Hello World!" application
(app) before, we are using new options:


{% highlight bash %}
    $ mkdir ~/padrino-projects
    $ cd ~/padrino_projects
    $ padrino g project job-vacancy -d activerecord -t rspec -s jquery -e erb -a sqlite
{ endhighlight}

Explanation of the fields commands:
...

Thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment