Skip to content

2pegramming/2pegramming.github.io

Repository files navigation

2pegramming.github.io

main site

Tips&Trics

Add image with caption

{%
    include image.html
    url="https://systemdesign.one/consistency-patterns/strong-consistency.webp"
    description="some **description** with explanation of [image](http://google.com)"
    altdescription=""
%}

Publish post

# in /questions/_posts/yyyy-mm-dd-post.md

---
published: true | false
---

Images

Put image in to: public/images/yyyy-mm-dd-post/ folder

Use /public/images/yyyy-mm-dd-post/imgage.jpg after

ZA/UM texts

<details class="collapse_block">
  <summary class="collapse_block__title">Заумь</summary>

  <div class="collapse_block__content" markdown="1">

**Heading hack**

# Heading
1. Foo
2. Bar
   * Baz
   * Qux

<img src="{{ 'public/images/questions/2024-02-07-test/logo.jpg' | relative_url }}" />

## Some Javascript
```js
function logSomething(something) {
  console.log('Something', something);
}

Some Javascript

next header

```