Skip to content

Instantly share code, notes, and snippets.

@jromero
Last active August 28, 2020 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jromero/3d98a109ff892aa47c4d47877ca17524 to your computer and use it in GitHub Desktop.
Save jromero/3d98a109ff892aa47c4d47877ca17524 to your computer and use it in GitHub Desktop.
Prototype of testing within Markdown

OPTION 1

Add HTML comments.

Example (see source)

First, we'll create a sample Ruby app that you can use when developing your buildpack:

mkdir ruby-sample-app

Create a file in the current directory called ruby-sample-app/app.rb with the following contents:

require 'sinatra'

set :bind, '0.0.0.0'
set :port, 8080

get '/' do
  'Hello World!'
end

Option 2

Add additional information to syntax highlighting information.

Example (see source)

First, we'll create a sample Ruby app that you can use when developing your buildpack:

mkdir ruby-sample-app

Create a file in the current directory called ruby-sample-app/app.rb with the following contents:

require 'sinatra'

set :bind, '0.0.0.0'
set :port, 8080

get '/' do
  'Hello World!'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment