Demonstration: New Container Blocks

MarkCharm Engineering

1 New Semantic Blocks

MarkCharm now natively supports new container blocks for various structural purposes. Each of them has its own independent counter and its own semantic translation based on the selected language.

1.1 Mathematics and Logic

Theorem 1. Pythagorean Theorem
In any right-angled triangle, the area of the square whose side is the hypotenuse is equal to the sum of the areas of the squares whose sides are the two legs.
Proof 1. Classic Proof
The classic proof uses triangle similarity by drawing the altitude to the hypotenuse.
Lemma 1. Zorn
If every totally ordered subset of a partially ordered set has an upper bound, then the set contains a maximal element.
Corollary 1. Vector Space Basis
Every vector space has a basis.
Postulate 1. Euclid
Se uma linha reta cortar duas outras retas de forma que os ângulos internos de um mesmo lado somem menos de dois ângulos retos, então as duas retas se encontrarão.
Property 1. Comutatividade da Adição
\(A + B = B + A\)
Axiom 1. Axioma da Extensão
Dois conjuntos são iguais se, e somente se, possuem os mesmos elementos.
Algorithm 1. Pesquisa Binária
function BinarySearch(arr: array of Integer; val: Integer): Integer;
var
  left, right, mid: Integer;
begin
  left := 0;
  right := High(arr);
  while left <= right do
  begin
    mid := (left + right) div 2;
    if arr[mid] = val then
    begin
      BinarySearch := mid;
      Exit;
    end
    else if arr[mid] < val then
      left := mid + 1
    else
      right := mid - 1;
  end;
  BinarySearch := -1;
end;

1.2 Engineering and Processes

Process 1. Compilação MarkCharm
O processo de compilação segue as fases de parsing, expansão de AST, numeração, e finalmente a emissão para o backend.
Flowchart 1. Fluxo de Compra
graph LR
    A[Início] --> B[Adicionar ao Carrinho]
    B --> C[Checkout]
    C --> D[Pagamento]

Schema 1. Esquema Entidade-Relacionamento
erDiagram
    CUSTOMER ||--o{ ORDER : places

Map 1. Densidade Populacional
(Inserir aqui o mapa coroplético gerado por SVG ou Leaflet)

1.3 Ciências Básicas

Model 1. Modelo Padrão de Partículas
\[\mathcal{L} = -\frac{1}{4} F_{\mu\nu} F^{\mu\nu} + i \bar{\psi} \not\!\partial \psi + h.c. \]
(1.1)
Source: CERN (2025)

Abaixo, veja um grafo (Graph):

Graph 1. Árvore de Sintaxe Abstrata (AST)
graph TD
    A[Documento] --> B[Seção]
    B --> C[Parágrafo]
    B --> D[Grafo]

E uma simulação (Simulation):

Simulation 1. Simulação Dinâmica de Fluidos (Convecção de Rayleigh-Bénard)
Na simulação CFD, a equação de Navier-Stokes com empuxo térmico é discretizada num grid de \(50 \times 50\) elementos, ilustrando a formação de uma pluma térmica ascendente.

And finally an animation (Animation):

Animation 1. Double Pendulum Animation
The system demonstrates chaotic motion.
Animation 2. The Three-Body Problem (Figure-8 Orbit)
The Three-Body Problem describes the temporal evolution of three masses under mutual gravitational attraction (Newton's Laws). Although, as proven by Poincaré, most initial conditions lead to unpredictable chaos without analytical solution, there are rare stable periodic orbits. Below, we render the famous topological 'Figure-8' solution, discovered by Cristopher Moore in 1993.

1.4 Dynamic References

As expected, MarkCharm perfectly resolves the references and prefixes: