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.
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;
graph LR
A[Início] --> B[Adicionar ao Carrinho]
B --> C[Checkout]
C --> D[Pagamento]
erDiagram
CUSTOMER ||--o{ ORDER : places
Abaixo, veja um grafo (Graph):
graph TD
A[Documento] --> B[Seção]
B --> C[Parágrafo]
B --> D[Grafo]
E uma simulação (Simulation):
And finally an animation (Animation):
As expected, MarkCharm perfectly resolves the references and prefixes: