Skip to content

Instantly share code, notes, and snippets.

View pil0t's full-sized avatar
💻
Working from home

Vladimir K pil0t

💻
Working from home
View GitHub Profile
@pil0t
pil0t / README.md
Created March 1, 2023 09:25 — forked from noamtamim/README.md
Markdown with PlantUML

How to use PlantUML with Markdown

PlantUML is a really awesome way to create diagrams by writing code instead of drawing and dragging visual elements. Markdown is a really nice documentation tool.

Here's how I combine the two, to create docs with embedded diagrams.

Step 0: Setup

Get the command-line PlantUML from the download page or your relevant package manager.

var a = "877495169FA05B9D8639A0EBC42022338F7D2324";
var b = "‎877495169fa05b9d8639a0ebc42022338f7d2324";
a.ToUpper().Dump();
b.ToUpper().Dump();
(a.ToUpper() == b.ToUpper()).Dump("ToUpper");
(a.ToUpperInvariant() == b.ToUpperInvariant()).Dump("ToUpperInvariant");
string.Equals(a, b, StringComparison.OrdinalIgnoreCase).Dump("OrdinalIgnoreCase");
string.Equals(a, b, StringComparison.InvariantCultureIgnoreCase).Dump("InvariantCultureIgnoreCase");
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestDOEntitySet
{
using Xtensive.Orm;
using Xtensive.Orm.Building;