Spiiin's blog

Hello World

Hello, world!
Немного тестов разметки

Пример содержания:


Заголовки

Заголовок1#

Заголовок2#

Заголовок2.2#

Заголовок2.3#

текст


Код:

echo "code without line numbers"
def t1
  pass
  NotImplemented
{ "json": true }
using namespace std;
cout << "Code";
cout << "with";
cout << "line";
cout << "numbers";
cout << end;
namespace std {
    template<> struct tuple_element<0,Config> { using type = std::string_view; };
    template<> struct tuple_element<1,Config> { using type = std::size_t; };
    template<> struct tuple_element<2,Config> { using type = const std::vector<std::string>&; };
}

template <unsigned K, class RET, class F, class Tup>
struct Expander {
  template <class... Ts>
  static RET expand(F&& func, Tup&& t, Ts && ... args) {
    return Expander<K - 1, RET, F, Tup>::expand (
        forward<F>(func),
        forward<Tup>(t),
        get<K - 1>(forward<Tup>(t)),
        forward<Ts>(args)...
    );}
};
using namespace std;
cout << "Code";
cout << "with";
cout << "line";
cout << "numbers";
cout << end;
namespace std {
    template<> struct tuple_element<0,Config> { using type = std::string_view; };
    template<> struct tuple_element<1,Config> { using type = std::size_t; };
    template<> struct tuple_element<2,Config> { using type = const std::vector<std::string>&; };
}

template <unsigned K, class RET, class F, class Tup>
struct Expander {
  template <class... Ts>
  static RET expand(F&& func, Tup&& t, Ts && ... args) {
    return Expander<K - 1, RET, F, Tup>::expand (
        forward<F>(func),
        forward<Tup>(t),
        get<K - 1>(forward<Tup>(t)),
        forward<Ts>(args)...
    );}
};
function compact(arr) {
// @annotate: left 56 - No editor warnings in JavaScript files<br/><br/>This crashes at runtime.
  if (orr.length > 10) return arr
  return arr
}
interface IdLabel {id: number, /* some fields */ }
interface NameLabel {name: string, /* other fields */ }
type NameOrId<T extends number | string> = T extends number ? IdLabel : NameLabel;
// This comment should not be included

// ---cut---
function createLabel<T extends number | string>(idOrName: T): NameOrId<T> {
  throw "unimplemented"
}

let a = createLabel("typescript");

Цитаты:

“Citate from me”

spiiin

Списки:

  • список1
  • список2
    • список21
    • список22
      • список221
  • список3

Тест 2

  • Языки
    • C++
    • C#
    • Python
  • Движки
    • Unity
    • Cocos2d
    • Godot

Большой список с уточнениями:

- Один
Объяснение на много
много
много строк.

- Два
Длинное объяснение

- Три
Ещё одно объснение, в несколько предложений.
Или абзацев.


Текст

болд - text
курсив - text
болд+курсив - text
код - code
код-болд - code-bold


Ссылки

Глобальная - Google
На пост в блоге - Hello, hexo


Спойлер:


Развернуть

Текст


Хинт

Не работает в начале строки - Test


Таблицы

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1
Table Header 1 Table Header 2 Table Header 3
Division 1 Division 2 Division 3
Division 1 Division 2 Division 3
Division 1 Division 2 Division 3

Backticks escape: `are` these!


Картинки

fox
totoro
2d
mir_vokrug

11#


Плагин для youtube:


Nomnoml diagram


Плагин для qrcode

hello, world#

footnote[1]

raw html

    let totalTime = ref_time_ticks()
    invoke(mandelbrot)
    //let func = %bf~++++>>+<+++++++++++++++++++++[->+<]<.>++++.>.%%
    //invoke(func)
    let totalDt = double(get_time_usec(totalTime)) /1000000.0lf
    to_log(LOG_INFO, "total {totalDt} sec\n")

footnote[2]

🎉 emoji 👀 🤖 🐶 📍
😀 😁 😂 🤣 😅 😊 😍 🥰 😎 😢 🥺 😡 😴
🌞 🌧 🌈 🌪 🌊 🌳 🌸 🐝 🦋 🦊 🐙 🦍
🍎 🍇 🥦 🍞 🍔 🍕 🍣 🍰 🍫 🍺
💻 🐭 📱 🖥 🔌 🛠 🧠 🤖 🔍

# выделение, важный пункт
# что-то мощное, быстрое
💡 # идея
🔥 # тренд, важное, горячее
🚀 # запуск, прогресс
💥 # важное изменение, новость
🔍 # поиск, исследование
📌 # закреплённое, важное
🧭 # обзор, навигация
🔖 # якорь, метка
🏷 # тег, категория
📍 # местоположение в структуре
🛠 # инструменты, настройки
💻 # код, программирование
# ввод данных, интерфейс
🤖 # автоматизация, ИИ
🎯 # цель, точка фокуса
🏁 # завершение, результат
# выполнено
📄 # документация
📖 # справочник, учебник
📝 # заметка, конспект


  1. 1.this is a footnote
  2. 2.other footnote