From dbe1cd6953a442239994d684c5ea29d7bbedabb2 Mon Sep 17 00:00:00 2001 From: Steve Dogiakos Date: Tue, 6 Apr 2021 15:53:04 -0600 Subject: [PATCH] Delete _posts/2019-8-12-code-snippets.md --- _posts/2019-8-12-code-snippets.md | 42 ------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 _posts/2019-8-12-code-snippets.md diff --git a/_posts/2019-8-12-code-snippets.md b/_posts/2019-8-12-code-snippets.md deleted file mode 100644 index 6605910..0000000 --- a/_posts/2019-8-12-code-snippets.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -layout: post -title: Code snippets in a blog post -categories: [HTML,Code] ---- - -This post demonstrate the use of code snippets in the theme. The code snippets are powered by [Pygments](http://pygments.org/) and the code theme that is been used in Reverie is called [Draula](https://draculatheme.com/). - -This is a raw snippet: - -``` -hello world -123 -This is a text snippet -``` - -This is a PHP snippet: - -```php - -``` - -This is a JavaScript snippet: - -```js -const add = (a, b) => a + b -const minus = (a, b) => a - b - -console.log(add(100,200)) // 300 -console.log(minus(100,200)) // -100 -``` - -This is a Python snippet: - -```python -def say_hello(): - print("hello world!") - -say_hello() // "hello world!" -```