Skip to content

Instantly share code, notes, and snippets.

@LivesInSpb
Created January 24, 2018 14:43
Show Gist options
  • Save LivesInSpb/add1f7e52e86713c2fa6c2423ea09b56 to your computer and use it in GitHub Desktop.
Save LivesInSpb/add1f7e52e86713c2fa6c2423ea09b56 to your computer and use it in GitHub Desktop.
highlight on web page
https://highlightjs.org/
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" href="styles/pojoaque.css">
<script src="highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
Create new app
<pre><code class="bash">
$ composer create-project symfony/skeleton my-project
</code></pre>
Add server
<pre><code class="hljs-meta-string">
$ cd my-project
$ composer require server --dev
</code></pre>
For run server Symfony write this command
<pre><code class="">
$ php bin/console server:run
</code></pre>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment