SlideShare a Scribd company logo
Submit Search
Upload
Mustdown
Report
Share
Simon Courtois
CTO Founder at PDFMonkey
Follow
•
2 likes
•
954 views
1
of
15
Mustdown
•
2 likes
•
954 views
Report
Share
Download Now
Download to read offline
Technology
Slides of the talk I gave at Paris.rb on 12/11/2012.
Read more
Simon Courtois
CTO Founder at PDFMonkey
Follow
Recommended
Write a Google Closure Editor Plugin by
Write a Google Closure Editor Plugin
yinhm .
1.8K views
•
27 slides
Get to know Git by
Get to know Git
Runcy Oommen
126 views
•
34 slides
Meetup live code_wear_2015 by
Meetup live code_wear_2015
Florent Champigny
463 views
•
38 slides
Do zero ao deploy by
Do zero ao deploy
jefferson Otoni Lima
72 views
•
41 slides
Using The EGit Eclipse Plugin With Git Hub by
Using The EGit Eclipse Plugin With Git Hub
guest4bce3214
372 views
•
32 slides
Organize your assets with Rails by
Organize your assets with Rails
Simon Courtois
761 views
•
51 slides
More Related Content
Similar to Mustdown
Intro. to Git and Github by
Intro. to Git and Github
Olmo F. Maldonado
194 views
•
51 slides
introductiontogitandgithub-120702044048-phpapp01.pdf by
introductiontogitandgithub-120702044048-phpapp01.pdf
BruceLee275640
7 views
•
23 slides
Mr.Crabs Git workflow by
Mr.Crabs Git workflow
Wuriyanto Musobar
170 views
•
8 slides
Introduction to git and github by
Introduction to git and github
Aderemi Dadepo
4.3K views
•
23 slides
Git workflows presentation by
Git workflows presentation
Mack Hardy
2.7K views
•
22 slides
Open up your platform with Open Source and GitHub by
Open up your platform with Open Source and GitHub
Scott Graham
1.3K views
•
21 slides
Similar to Mustdown
(20)
Intro. to Git and Github by Olmo F. Maldonado
Intro. to Git and Github
Olmo F. Maldonado
•
194 views
introductiontogitandgithub-120702044048-phpapp01.pdf by BruceLee275640
introductiontogitandgithub-120702044048-phpapp01.pdf
BruceLee275640
•
7 views
Mr.Crabs Git workflow by Wuriyanto Musobar
Mr.Crabs Git workflow
Wuriyanto Musobar
•
170 views
Introduction to git and github by Aderemi Dadepo
Introduction to git and github
Aderemi Dadepo
•
4.3K views
Git workflows presentation by Mack Hardy
Git workflows presentation
Mack Hardy
•
2.7K views
Open up your platform with Open Source and GitHub by Scott Graham
Open up your platform with Open Source and GitHub
Scott Graham
•
1.3K views
Git101 by Jason Noble
Git101
Jason Noble
•
1K views
Creating and Deploying Static Sites with Hugo by Brian Hogan
Creating and Deploying Static Sites with Hugo
Brian Hogan
•
1.2K views
Up GitLab Presentation 2015 by Kumaran Balachandran
Up GitLab Presentation 2015
Kumaran Balachandran
•
2.6K views
Matt Gauger - Git & Github web414 December 2010 by Matt Gauger
Matt Gauger - Git & Github web414 December 2010
Matt Gauger
•
1.7K views
GDSC GIT AND GITHUB by GDSCIIITDHARWAD
GDSC GIT AND GITHUB
GDSCIIITDHARWAD
•
56 views
SydJS.com by Lachlan Hardy
SydJS.com
Lachlan Hardy
•
786 views
Open Source Web Charts by HaNJiN Lee
Open Source Web Charts
HaNJiN Lee
•
6.6K views
JAZOON'13 - Thomas Hug & Bartosz Majsak - Git Workshop -Essentials by jazoon13
JAZOON'13 - Thomas Hug & Bartosz Majsak - Git Workshop -Essentials
jazoon13
•
3.3K views
Fewd week1 slides by William Myers
Fewd week1 slides
William Myers
•
418 views
14 oct Git & GitHub.pptx by GDSCGHRIETNagpur
14 oct Git & GitHub.pptx
GDSCGHRIETNagpur
•
117 views
Atlanta Pm Git 101 by Jason Noble
Atlanta Pm Git 101
Jason Noble
•
916 views
Introduction to GitHub Actions by Bo-Yi Wu
Introduction to GitHub Actions
Bo-Yi Wu
•
19.3K views
The everyday developer's guide to version control with Git by E Carter
The everyday developer's guide to version control with Git
E Carter
•
20.4K views
Git Atlrug by Jason Noble
Git Atlrug
Jason Noble
•
716 views
More from Simon Courtois
Conseils pour un lancement Product Hunt réussi by
Conseils pour un lancement Product Hunt réussi
Simon Courtois
72 views
•
28 slides
Dependency sorting in Ruby with TSort by
Dependency sorting in Ruby with TSort
Simon Courtois
942 views
•
16 slides
How Unidecoder Transliterates UTF-8 to ASCII by
How Unidecoder Transliterates UTF-8 to ASCII
Simon Courtois
782 views
•
34 slides
Get Slim! by
Get Slim!
Simon Courtois
2.2K views
•
23 slides
Multi tenant/lang application with Ruby on Rails by
Multi tenant/lang application with Ruby on Rails
Simon Courtois
1.7K views
•
14 slides
Fake your files - MemFs by
Fake your files - MemFs
Simon Courtois
1K views
•
24 slides
More from Simon Courtois
(13)
Conseils pour un lancement Product Hunt réussi by Simon Courtois
Conseils pour un lancement Product Hunt réussi
Simon Courtois
•
72 views
Dependency sorting in Ruby with TSort by Simon Courtois
Dependency sorting in Ruby with TSort
Simon Courtois
•
942 views
How Unidecoder Transliterates UTF-8 to ASCII by Simon Courtois
How Unidecoder Transliterates UTF-8 to ASCII
Simon Courtois
•
782 views
Get Slim! by Simon Courtois
Get Slim!
Simon Courtois
•
2.2K views
Multi tenant/lang application with Ruby on Rails by Simon Courtois
Multi tenant/lang application with Ruby on Rails
Simon Courtois
•
1.7K views
Fake your files - MemFs by Simon Courtois
Fake your files - MemFs
Simon Courtois
•
1K views
Rails is like Burger King by Simon Courtois
Rails is like Burger King
Simon Courtois
•
819 views
REST with Her (and let Her take care of the REST) by Simon Courtois
REST with Her (and let Her take care of the REST)
Simon Courtois
•
3.2K views
Ruby and DCI by Simon Courtois
Ruby and DCI
Simon Courtois
•
877 views
Cells by Simon Courtois
Cells
Simon Courtois
•
631 views
Ariane by Simon Courtois
Ariane
Simon Courtois
•
663 views
Pourquoi Ruby on Rails ça déchire ? by Simon Courtois
Pourquoi Ruby on Rails ça déchire ?
Simon Courtois
•
4.9K views
Commander by Simon Courtois
Commander
Simon Courtois
•
292 views
Recently uploaded
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... by
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
ShapeBlue
86 views
•
25 slides
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava... by
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
ShapeBlue
74 views
•
17 slides
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... by
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
ShapeBlue
113 views
•
18 slides
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue by
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
ShapeBlue
68 views
•
13 slides
"Surviving highload with Node.js", Andrii Shumada by
"Surviving highload with Node.js", Andrii Shumada
Fwdays
49 views
•
29 slides
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... by
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc
130 views
•
29 slides
Recently uploaded
(20)
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... by ShapeBlue
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
ShapeBlue
•
86 views
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava... by ShapeBlue
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
ShapeBlue
•
74 views
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... by ShapeBlue
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
ShapeBlue
•
113 views
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue by ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
ShapeBlue
•
68 views
"Surviving highload with Node.js", Andrii Shumada by Fwdays
"Surviving highload with Node.js", Andrii Shumada
Fwdays
•
49 views
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... by TrustArc
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc
•
130 views
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT by ShapeBlue
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
ShapeBlue
•
138 views
Confidence in CloudStack - Aron Wagner, Nathan Gleason - Americ by ShapeBlue
Confidence in CloudStack - Aron Wagner, Nathan Gleason - Americ
ShapeBlue
•
58 views
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T by ShapeBlue
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
ShapeBlue
•
81 views
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... by ShapeBlue
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
ShapeBlue
•
120 views
Uni Systems for Power Platform.pptx by Uni Systems S.M.S.A.
Uni Systems for Power Platform.pptx
Uni Systems S.M.S.A.
•
60 views
Igniting Next Level Productivity with AI-Infused Data Integration Workflows by Safe Software
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software
•
373 views
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online by ShapeBlue
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
ShapeBlue
•
154 views
Ransomware is Knocking your Door_Final.pdf by Security Bootcamp
Ransomware is Knocking your Door_Final.pdf
Security Bootcamp
•
81 views
Business Analyst Series 2023 - Week 4 Session 7 by DianaGray10
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10
•
110 views
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... by ShapeBlue
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
ShapeBlue
•
93 views
Microsoft Power Platform.pptx by Uni Systems S.M.S.A.
Microsoft Power Platform.pptx
Uni Systems S.M.S.A.
•
74 views
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ... by ShapeBlue
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
ShapeBlue
•
121 views
State of the Union - Rohit Yadav - Apache CloudStack by ShapeBlue
State of the Union - Rohit Yadav - Apache CloudStack
ShapeBlue
•
218 views
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti... by ShapeBlue
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
ShapeBlue
•
69 views
Mustdown
1.
Mustdown Simon Courtois -
@happynoff
2.
Mustache
name: Github slogan: Social Coding (for all) Object url: http://github.com <h1>The {{name}} company</h1> <p>Slogan: {{slogan}}</p> <p>Site: {{url}}</p> <h1>The Github company</h1> <p>Slogan: Social Coding (for all)</p> Mustache <p>Site: http://github.com</p> HTML github: simonc/mustdown http://slidesha.re/mustdown
3.
Mustache
name: Github slogan: Social Coding (for all) url: http://github.com projects: - title: Hubot url: https://github.com/github/hubot Object - title: Gollum url: https://github.com/github/gollum <h1>The {{name}} company</h1> <p>Slogan: {{slogan}}</p> <h1>The Github company</h1> <p>Site: {{url}}</p> <p>Slogan: Social Coding (for all)</p> <ul> {{#projects}} <p>Site: http://github.com</p> <li>{{title}}: {{url}}</li> {{/projects}} <ul> </ul> <li>Hubot: https://github.com/github/hubot</li> <li>Gollum: https://github.com/github/gollum</li> Mustache </ul> HTML github: simonc/mustdown http://slidesha.re/mustdown
4.
Mustache
ActiveRecord company = Company.where(name: 'Github').first template = <<-END Ruby <h1>The {{name}} company</h1> <p>Slogan: {{slogan}}</p> <p>Site: {{url}}</p> <h1>The Github company</h1> <ul> {{#projects}} <p>Slogan: Social Coding (for all)</p> <li>{{title}}: {{url}}</li> {{/projects}} <p>Site: http://github.com</p> </ul> <ul> END <li>Hubot: https://github.com/github/hubot</li> <li>Gollum: https://github.com/github/gollum</li> Mustache.render(template, company) </ul> HTML github: simonc/mustdown http://slidesha.re/mustdown
5.
Markdown
# The Github company Markdown Slogan: Social Coding (for all) Site: [Github](http://github.com) * Hubot * Gollum <h1>The Github company</h1> <p>Slogan: Social Coding (for all)</p> <p>Site: <a href=”http://github.com”>Github</a></p> <ul> <li>Hubot</li> <li>Gollum</li> </ul> HTML github: simonc/mustdown http://slidesha.re/mustdown
6.
Mustdown
name: Github slogan: Social Coding (for all) url: http://github.com projects: - title: Hubot url: https://github.com/github/hubot Object - title: Gollum url: https://github.com/github/gollum # The {{name}} company Slogan: {{slogan}} <h1>The Github company</h1> Site: {{url}} <p>Slogan: Social Coding (for all)</p> {{#projects}} <p>Site: http://github.com</p> * {{title}}: {{url}} {{/projects}} <ul> <li>Hubot: https://github.com/github/hubot</li> Mustdown <li>Gollum: https://github.com/github/gollum</li> </ul> HTML github: simonc/mustdown http://slidesha.re/mustdown
7.
Mustdown - helpers
class CompaniesController < ApplicationController def show Controller @company = Company.where(name: 'Github').first @template = <<-END # The {{name}} company Slogan: {{slogan}} Site: {{url}} {{#projects}} * {{title}}: {{url}} {{/projects}} <h1>The Github company</h1> END <p>Slogan: Social Coding (for all)</p> end end <p>Site: http://github.com</p> <ul> <li>Hubot: https://github.com/github/hubot</li> # app/views/companies/show.html.erb <li>Gollum: https://github.com/github/gollum</li> <%= mustdown @template, @company %> </ul> View HTML github: simonc/mustdown http://slidesha.re/mustdown
8.
Mustdown - helpers
class CompaniesController < ApplicationController def show Controller @company = Company.where(name: 'Github').first end end en: companies: en.yml show: text: | # The {{name}} company Slogan: {{slogan}} <h1>The Github company</h1> Site: {{url}} <p>Slogan: Social Coding (for all)</p> {{#projects}} * {{title}}: {{url}} <p>Site: http://github.com</p> {{/projects}} <ul> <li>Hubot: https://github.com/github/hubot</li> # app/views/companies/show.html.erb <li>Gollum: https://github.com/github/gollum</li> <%= mustdown t(‘.text’), @company %> </ul> View HTML github: simonc/mustdown http://slidesha.re/mustdown
9.
Mustdown - helpers
<%= mustdown template, object %> <%= mustache template, object %> <%= markdown template %> github: simonc/mustdown http://slidesha.re/mustdown
10.
Installation
gem 'mustdown' redcarpet mustache http://github.com/simonc/mustdown github: simonc/mustdown http://slidesha.re/mustdown
11.
Configuration
$ rails generate mustdown:install # config/initializers/mustdown.rb Mustdown.configure do |config| config.markdown_extensions = { no_intra_emphasis: true, tables: true, fenced_code_blocks: true, autolink: true, strikethrough: true } config.renderer_options = { no_styles: true, safe_links_only: true } end github: simonc/mustdown http://slidesha.re/mustdown
12.
Configuration
<%= markdown template, { autolink: false }, { no_links: true } %> <%= mustdown template, object, { autolink: false }, { no_links: true } %> github: simonc/mustdown http://slidesha.re/mustdown
13.
Mustdown - TODO
Rails Tests Tests Tests ! github: simonc/mustdown http://slidesha.re/mustdown
14.
Questions ? github: simonc/mustdown
http://slidesha.re/mustdown
15.
Merci !
@happynoff github: simonc/mustdown http://slidesha.re/mustdown