Skip to content

Instantly share code, notes, and snippets.

View TFWol's full-sized avatar
😟

TFWol

😟
View GitHub Profile
@TFWol
TFWol / lua_cheat_sheet.lua
Created March 13, 2023 02:37 — forked from ourway/lua_cheat_sheet.lua
Lua programming language cheat sheet
print("Hello World")
--[[
Multiline comment
]]
-- Variable names can't start with a number, but can contain letters, numbers
-- and underscores
-- Lua is dynamically typed based off of the data stored there

Mermaid on Github Examples

All of these diagrams are dynamically rendered during html display by Github, the images generated from text inside the Github-Flavored Markdown. None are static images. Mermaid support was released for Github on 2022-02-14

Pros & Cons:

  • Pro: You don't need to care about the layout.
  • Con: You cannot control the layout.

Notes:

  • Not all the features of Mermaid (in particular symbols B-->C[fa:fa-ban forbidden], hyperlink and tooltips) are supported by Github.