Skip to content

Instantly share code, notes, and snippets.

@zookzook
Last active March 11, 2020 09:21
Show Gist options
  • Select an option

  • Save zookzook/026e1da9c164138239413a465b1b8f7d to your computer and use it in GitHub Desktop.

Select an option

Save zookzook/026e1da9c164138239413a465b1b8f7d to your computer and use it in GitHub Desktop.
Example: Paragraph
{
text: """
|## Phoenix Web-Framework ##
|
|I'll show you how we create a boilerplate code that has all the necessary functions to get you started quickly.
|This code is then ready for further adjustments and changes. First we create a Phoenix project without
|database connection:
|
|```elixir
|#> mix phx.new polaris --no-ecto
|```
|
|We answer all questions with yes and can then start the server.
|In the browser the well-known boilerplate page from Phoenix should now appear under 'http://localhost:4000':
|
"""
images: [
{
caption: "Welcome page"
src: "/images/welcome.jpg"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment