# markdown icon

Markdown. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/markdown

- Category: Development
- Use it for: markdown, md
- Tags: markdown, md, markup, text, format, readme, document, developer
- Component name: MarkdownIcon
- Added: 2026-10-14

## Alternatives

- `file-markdown`: a Markdown file (markdown-file)

## Also fits

- markdown file: the bare format mark: a Markdown toggle or editor mode (markdown)

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/markdown.svg · PNG https://gentleface.com/png/line-round/16/markdown.png · https://gentleface.com/png/line-round/32/markdown.png · https://gentleface.com/png/line-round/48/markdown.png
- line-soft: https://gentleface.com/svg/line-soft/16/markdown.svg · PNG https://gentleface.com/png/line-soft/16/markdown.png · https://gentleface.com/png/line-soft/32/markdown.png · https://gentleface.com/png/line-soft/48/markdown.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/markdown.svg · PNG https://gentleface.com/png/line-sharp/16/markdown.png · https://gentleface.com/png/line-sharp/32/markdown.png · https://gentleface.com/png/line-sharp/48/markdown.png
- solid-round: https://gentleface.com/svg/solid-round/16/markdown.svg · PNG https://gentleface.com/png/solid-round/16/markdown.png · https://gentleface.com/png/solid-round/32/markdown.png · https://gentleface.com/png/solid-round/48/markdown.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/markdown.svg · PNG https://gentleface.com/png/solid-soft/16/markdown.png · https://gentleface.com/png/solid-soft/32/markdown.png · https://gentleface.com/png/solid-soft/48/markdown.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/markdown.svg · PNG https://gentleface.com/png/solid-sharp/16/markdown.png · https://gentleface.com/png/solid-sharp/32/markdown.png · https://gentleface.com/png/solid-sharp/48/markdown.png

The SVG of every style: https://gentleface.com/icons/markdown.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M1.144 3.144C1.241 3.048 1.359 3 1.5 3C1.638 3 1.756 3.049 1.854 3.146L4.5 5.793L7.146 3.146C7.244 3.049 7.362 3 7.5 3C7.638 3 7.756 3.049 7.854 3.146C7.951 3.244 8 3.362 8 3.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 4.707L4.854 6.854C4.754 6.953 4.636 7.003 4.5 7.003C4.364 7.003 4.246 6.953 4.146 6.854L2 4.707L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 3.5C1 3.359 1.048 3.241 1.144 3.144ZM13.146 10.146C13.246 10.047 13.364 9.997 13.5 9.997C13.636 9.997 13.754 10.047 13.854 10.146C13.953 10.246 14.003 10.364 14.003 10.5C14.003 10.636 13.953 10.754 13.854 10.854L11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L9.146 10.854C9.047 10.754 8.997 10.636 8.997 10.5C8.997 10.364 9.047 10.246 9.146 10.146C9.246 10.047 9.364 9.997 9.5 9.997C9.636 9.997 9.754 10.047 9.854 10.146L11 11.293L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.293L13.146 10.146Z"/></svg>
```

### React

```tsx
// Gentleface "markdown" (line-round), MIT. https://gentleface.com/icons/markdown
import type { SVGProps } from 'react';

export function MarkdownIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M1.144 3.144C1.241 3.048 1.359 3 1.5 3C1.638 3 1.756 3.049 1.854 3.146L4.5 5.793L7.146 3.146C7.244 3.049 7.362 3 7.5 3C7.638 3 7.756 3.049 7.854 3.146C7.951 3.244 8 3.362 8 3.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 4.707L4.854 6.854C4.754 6.953 4.636 7.003 4.5 7.003C4.364 7.003 4.246 6.953 4.146 6.854L2 4.707L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 3.5C1 3.359 1.048 3.241 1.144 3.144ZM13.146 10.146C13.246 10.047 13.364 9.997 13.5 9.997C13.636 9.997 13.754 10.047 13.854 10.146C13.953 10.246 14.003 10.364 14.003 10.5C14.003 10.636 13.953 10.754 13.854 10.854L11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L9.146 10.854C9.047 10.754 8.997 10.636 8.997 10.5C8.997 10.364 9.047 10.246 9.146 10.146C9.246 10.047 9.364 9.997 9.5 9.997C9.636 9.997 9.754 10.047 9.854 10.146L11 11.293L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.293L13.146 10.146Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "markdown" (line-round), MIT. https://gentleface.com/icons/markdown -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M1.144 3.144C1.241 3.048 1.359 3 1.5 3C1.638 3 1.756 3.049 1.854 3.146L4.5 5.793L7.146 3.146C7.244 3.049 7.362 3 7.5 3C7.638 3 7.756 3.049 7.854 3.146C7.951 3.244 8 3.362 8 3.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 4.707L4.854 6.854C4.754 6.953 4.636 7.003 4.5 7.003C4.364 7.003 4.246 6.953 4.146 6.854L2 4.707L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 3.5C1 3.359 1.048 3.241 1.144 3.144ZM13.146 10.146C13.246 10.047 13.364 9.997 13.5 9.997C13.636 9.997 13.754 10.047 13.854 10.146C13.953 10.246 14.003 10.364 14.003 10.5C14.003 10.636 13.953 10.754 13.854 10.854L11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L9.146 10.854C9.047 10.754 8.997 10.636 8.997 10.5C8.997 10.364 9.047 10.246 9.146 10.146C9.246 10.047 9.364 9.997 9.5 9.997C9.636 9.997 9.754 10.047 9.854 10.146L11 11.293L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.293L13.146 10.146Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "markdown" (line-round), MIT. https://gentleface.com/icons/markdown -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M1.144 3.144C1.241 3.048 1.359 3 1.5 3C1.638 3 1.756 3.049 1.854 3.146L4.5 5.793L7.146 3.146C7.244 3.049 7.362 3 7.5 3C7.638 3 7.756 3.049 7.854 3.146C7.951 3.244 8 3.362 8 3.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 4.707L4.854 6.854C4.754 6.953 4.636 7.003 4.5 7.003C4.364 7.003 4.246 6.953 4.146 6.854L2 4.707L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 3.5C1 3.359 1.048 3.241 1.144 3.144ZM13.146 10.146C13.246 10.047 13.364 9.997 13.5 9.997C13.636 9.997 13.754 10.047 13.854 10.146C13.953 10.246 14.003 10.364 14.003 10.5C14.003 10.636 13.953 10.754 13.854 10.854L11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L9.146 10.854C9.047 10.754 8.997 10.636 8.997 10.5C8.997 10.364 9.047 10.246 9.146 10.146C9.246 10.047 9.364 9.997 9.5 9.997C9.636 9.997 9.754 10.047 9.854 10.146L11 11.293L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.293L13.146 10.146Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "markdown" (line-round), MIT. https://gentleface.com/icons/markdown. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/markdown.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "markdown" (line-round), MIT. https://gentleface.com/icons/markdown. Takes the text color. */
.icon-markdown {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M1.144 3.144C1.241 3.048 1.359 3 1.5 3C1.638 3 1.756 3.049 1.854 3.146L4.5 5.793L7.146 3.146C7.244 3.049 7.362 3 7.5 3C7.638 3 7.756 3.049 7.854 3.146C7.951 3.244 8 3.362 8 3.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 4.707L4.854 6.854C4.754 6.953 4.636 7.003 4.5 7.003C4.364 7.003 4.246 6.953 4.146 6.854L2 4.707L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 3.5C1 3.359 1.048 3.241 1.144 3.144ZM13.146 10.146C13.246 10.047 13.364 9.997 13.5 9.997C13.636 9.997 13.754 10.047 13.854 10.146C13.953 10.246 14.003 10.364 14.003 10.5C14.003 10.636 13.953 10.754 13.854 10.854L11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L9.146 10.854C9.047 10.754 8.997 10.636 8.997 10.5C8.997 10.364 9.047 10.246 9.146 10.146C9.246 10.047 9.364 9.997 9.5 9.997C9.636 9.997 9.754 10.047 9.854 10.146L11 11.293L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.293L13.146 10.146Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M1.144 3.144C1.241 3.048 1.359 3 1.5 3C1.638 3 1.756 3.049 1.854 3.146L4.5 5.793L7.146 3.146C7.244 3.049 7.362 3 7.5 3C7.638 3 7.756 3.049 7.854 3.146C7.951 3.244 8 3.362 8 3.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 4.707L4.854 6.854C4.754 6.953 4.636 7.003 4.5 7.003C4.364 7.003 4.246 6.953 4.146 6.854L2 4.707L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 3.5C1 3.359 1.048 3.241 1.144 3.144ZM13.146 10.146C13.246 10.047 13.364 9.997 13.5 9.997C13.636 9.997 13.754 10.047 13.854 10.146C13.953 10.246 14.003 10.364 14.003 10.5C14.003 10.636 13.953 10.754 13.854 10.854L11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L9.146 10.854C9.047 10.754 8.997 10.636 8.997 10.5C8.997 10.364 9.047 10.246 9.146 10.146C9.246 10.047 9.364 9.997 9.5 9.997C9.636 9.997 9.754 10.047 9.854 10.146L11 11.293L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.293L13.146 10.146Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M1.144 3.144C1.241 3.048 1.359 3 1.5 3C1.638 3 1.756 3.049 1.854 3.146L4.5 5.793L7.146 3.146C7.244 3.049 7.362 3 7.5 3C7.638 3 7.756 3.049 7.854 3.146C7.951 3.244 8 3.362 8 3.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 4.707L4.854 6.854C4.754 6.953 4.636 7.003 4.5 7.003C4.364 7.003 4.246 6.953 4.146 6.854L2 4.707L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 3.5C1 3.359 1.048 3.241 1.144 3.144ZM13.146 10.146C13.246 10.047 13.364 9.997 13.5 9.997C13.636 9.997 13.754 10.047 13.854 10.146C13.953 10.246 14.003 10.364 14.003 10.5C14.003 10.636 13.953 10.754 13.854 10.854L11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L9.146 10.854C9.047 10.754 8.997 10.636 8.997 10.5C8.997 10.364 9.047 10.246 9.146 10.146C9.246 10.047 9.364 9.997 9.5 9.997C9.636 9.997 9.754 10.047 9.854 10.146L11 11.293L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.293L13.146 10.146Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "markdown" (line-round), MIT. https://gentleface.com/icons/markdown
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#markdown"/></svg>
```

### SwiftUI

```swift
// Gentleface "markdown" (line-round), MIT. https://gentleface.com/icons/markdown
import SwiftUI

struct MarkdownIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 1.144, y: 3.144))
        p.addCurve(to: CGPoint(x: 1.5, y: 3), control1: CGPoint(x: 1.241, y: 3.048), control2: CGPoint(x: 1.359, y: 3))
        p.addCurve(to: CGPoint(x: 1.854, y: 3.146), control1: CGPoint(x: 1.638, y: 3), control2: CGPoint(x: 1.756, y: 3.049))
        p.addLine(to: CGPoint(x: 4.5, y: 5.793))
        p.addLine(to: CGPoint(x: 7.146, y: 3.146))
        p.addCurve(to: CGPoint(x: 7.5, y: 3), control1: CGPoint(x: 7.244, y: 3.049), control2: CGPoint(x: 7.362, y: 3))
        p.addCurve(to: CGPoint(x: 7.854, y: 3.146), control1: CGPoint(x: 7.638, y: 3), control2: CGPoint(x: 7.756, y: 3.049))
        p.addCurve(to: CGPoint(x: 8, y: 3.5), control1: CGPoint(x: 7.951, y: 3.244), control2: CGPoint(x: 8, y: 3.362))
        p.addLine(to: CGPoint(x: 8, y: 12.5))
        p.addCurve(to: CGPoint(x: 7.856, y: 12.856), control1: CGPoint(x: 8, y: 12.641), control2: CGPoint(x: 7.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 7.5, y: 13), control1: CGPoint(x: 7.759, y: 12.952), control2: CGPoint(x: 7.641, y: 13))
        p.addCurve(to: CGPoint(x: 7.144, y: 12.856), control1: CGPoint(x: 7.359, y: 13), control2: CGPoint(x: 7.241, y: 12.952))
        p.addCurve(to: CGPoint(x: 7, y: 12.5), control1: CGPoint(x: 7.048, y: 12.759), control2: CGPoint(x: 7, y: 12.641))
        p.addLine(to: CGPoint(x: 7, y: 4.707))
        p.addLine(to: CGPoint(x: 4.854, y: 6.854))
        p.addCurve(to: CGPoint(x: 4.5, y: 7.003), control1: CGPoint(x: 4.754, y: 6.953), control2: CGPoint(x: 4.636, y: 7.003))
        p.addCurve(to: CGPoint(x: 4.146, y: 6.854), control1: CGPoint(x: 4.364, y: 7.003), control2: CGPoint(x: 4.246, y: 6.953))
        p.addLine(to: CGPoint(x: 2, y: 4.707))
        p.addLine(to: CGPoint(x: 2, y: 12.5))
        p.addCurve(to: CGPoint(x: 1.856, y: 12.856), control1: CGPoint(x: 2, y: 12.641), control2: CGPoint(x: 1.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 1.5, y: 13), control1: CGPoint(x: 1.759, y: 12.952), control2: CGPoint(x: 1.641, y: 13))
        p.addCurve(to: CGPoint(x: 1.144, y: 12.856), control1: CGPoint(x: 1.359, y: 13), control2: CGPoint(x: 1.241, y: 12.952))
        p.addCurve(to: CGPoint(x: 1, y: 12.5), control1: CGPoint(x: 1.048, y: 12.759), control2: CGPoint(x: 1, y: 12.641))
        p.addLine(to: CGPoint(x: 1, y: 3.5))
        p.addCurve(to: CGPoint(x: 1.144, y: 3.144), control1: CGPoint(x: 1, y: 3.359), control2: CGPoint(x: 1.048, y: 3.241))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13.146, y: 10.146))
        p.addCurve(to: CGPoint(x: 13.5, y: 9.997), control1: CGPoint(x: 13.246, y: 10.047), control2: CGPoint(x: 13.364, y: 9.997))
        p.addCurve(to: CGPoint(x: 13.854, y: 10.146), control1: CGPoint(x: 13.636, y: 9.997), control2: CGPoint(x: 13.754, y: 10.047))
        p.addCurve(to: CGPoint(x: 14.003, y: 10.5), control1: CGPoint(x: 13.953, y: 10.246), control2: CGPoint(x: 14.003, y: 10.364))
        p.addCurve(to: CGPoint(x: 13.854, y: 10.854), control1: CGPoint(x: 14.003, y: 10.636), control2: CGPoint(x: 13.953, y: 10.754))
        p.addLine(to: CGPoint(x: 11.854, y: 12.854))
        p.addCurve(to: CGPoint(x: 11.5, y: 13.003), control1: CGPoint(x: 11.754, y: 12.953), control2: CGPoint(x: 11.636, y: 13.003))
        p.addCurve(to: CGPoint(x: 11.146, y: 12.854), control1: CGPoint(x: 11.364, y: 13.003), control2: CGPoint(x: 11.246, y: 12.953))
        p.addLine(to: CGPoint(x: 9.146, y: 10.854))
        p.addCurve(to: CGPoint(x: 8.997, y: 10.5), control1: CGPoint(x: 9.047, y: 10.754), control2: CGPoint(x: 8.997, y: 10.636))
        p.addCurve(to: CGPoint(x: 9.146, y: 10.146), control1: CGPoint(x: 8.997, y: 10.364), control2: CGPoint(x: 9.047, y: 10.246))
        p.addCurve(to: CGPoint(x: 9.5, y: 9.997), control1: CGPoint(x: 9.246, y: 10.047), control2: CGPoint(x: 9.364, y: 9.997))
        p.addCurve(to: CGPoint(x: 9.854, y: 10.146), control1: CGPoint(x: 9.636, y: 9.997), control2: CGPoint(x: 9.754, y: 10.047))
        p.addLine(to: CGPoint(x: 11, y: 11.293))
        p.addLine(to: CGPoint(x: 11, y: 3.5))
        p.addCurve(to: CGPoint(x: 11.144, y: 3.144), control1: CGPoint(x: 11, y: 3.359), control2: CGPoint(x: 11.048, y: 3.241))
        p.addCurve(to: CGPoint(x: 11.5, y: 3), control1: CGPoint(x: 11.241, y: 3.048), control2: CGPoint(x: 11.359, y: 3))
        p.addCurve(to: CGPoint(x: 11.856, y: 3.144), control1: CGPoint(x: 11.641, y: 3), control2: CGPoint(x: 11.759, y: 3.048))
        p.addCurve(to: CGPoint(x: 12, y: 3.5), control1: CGPoint(x: 11.952, y: 3.241), control2: CGPoint(x: 12, y: 3.359))
        p.addLine(to: CGPoint(x: 12, y: 11.293))
        p.addLine(to: CGPoint(x: 13.146, y: 10.146))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// MarkdownIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "markdown" (line-round), MIT. https://gentleface.com/icons/markdown
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val MarkdownIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "markdown", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M1.144 3.144C1.241 3.048 1.359 3 1.5 3C1.638 3 1.756 3.049 1.854 3.146L4.5 5.793L7.146 3.146C7.244 3.049 7.362 3 7.5 3C7.638 3 7.756 3.049 7.854 3.146C7.951 3.244 8 3.362 8 3.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 4.707L4.854 6.854C4.754 6.953 4.636 7.003 4.5 7.003C4.364 7.003 4.246 6.953 4.146 6.854L2 4.707L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 3.5C1 3.359 1.048 3.241 1.144 3.144ZM13.146 10.146C13.246 10.047 13.364 9.997 13.5 9.997C13.636 9.997 13.754 10.047 13.854 10.146C13.953 10.246 14.003 10.364 14.003 10.5C14.003 10.636 13.953 10.754 13.854 10.854L11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L9.146 10.854C9.047 10.754 8.997 10.636 8.997 10.5C8.997 10.364 9.047 10.246 9.146 10.146C9.246 10.047 9.364 9.997 9.5 9.997C9.636 9.997 9.754 10.047 9.854 10.146L11 11.293L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.293L13.146 10.146Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(MarkdownIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_markdown.xml · Gentleface "markdown" (line-round), MIT. https://gentleface.com/icons/markdown -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M1.144 3.144C1.241 3.048 1.359 3 1.5 3C1.638 3 1.756 3.049 1.854 3.146L4.5 5.793L7.146 3.146C7.244 3.049 7.362 3 7.5 3C7.638 3 7.756 3.049 7.854 3.146C7.951 3.244 8 3.362 8 3.5L8 12.5C8 12.641 7.952 12.759 7.856 12.856C7.759 12.952 7.641 13 7.5 13C7.359 13 7.241 12.952 7.144 12.856C7.048 12.759 7 12.641 7 12.5L7 4.707L4.854 6.854C4.754 6.953 4.636 7.003 4.5 7.003C4.364 7.003 4.246 6.953 4.146 6.854L2 4.707L2 12.5C2 12.641 1.952 12.759 1.856 12.856C1.759 12.952 1.641 13 1.5 13C1.359 13 1.241 12.952 1.144 12.856C1.048 12.759 1 12.641 1 12.5L1 3.5C1 3.359 1.048 3.241 1.144 3.144ZM13.146 10.146C13.246 10.047 13.364 9.997 13.5 9.997C13.636 9.997 13.754 10.047 13.854 10.146C13.953 10.246 14.003 10.364 14.003 10.5C14.003 10.636 13.953 10.754 13.854 10.854L11.854 12.854C11.754 12.953 11.636 13.003 11.5 13.003C11.364 13.003 11.246 12.953 11.146 12.854L9.146 10.854C9.047 10.754 8.997 10.636 8.997 10.5C8.997 10.364 9.047 10.246 9.146 10.146C9.246 10.047 9.364 9.997 9.5 9.997C9.636 9.997 9.754 10.047 9.854 10.146L11 11.293L11 3.5C11 3.359 11.048 3.241 11.144 3.144C11.241 3.048 11.359 3 11.5 3C11.641 3 11.759 3.048 11.856 3.144C11.952 3.241 12 3.359 12 3.5L12 11.293L13.146 10.146Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "markdown" (line-round), MIT. https://gentleface.com/icons/markdown
import 'package:flutter/widgets.dart';

class MarkdownIcon extends StatelessWidget {
  const MarkdownIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _MarkdownIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _MarkdownIconPainter extends CustomPainter {
  _MarkdownIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(1.144, 3.144)
      ..cubicTo(1.241, 3.048, 1.359, 3, 1.5, 3)
      ..cubicTo(1.638, 3, 1.756, 3.049, 1.854, 3.146)
      ..lineTo(4.5, 5.793)
      ..lineTo(7.146, 3.146)
      ..cubicTo(7.244, 3.049, 7.362, 3, 7.5, 3)
      ..cubicTo(7.638, 3, 7.756, 3.049, 7.854, 3.146)
      ..cubicTo(7.951, 3.244, 8, 3.362, 8, 3.5)
      ..lineTo(8, 12.5)
      ..cubicTo(8, 12.641, 7.952, 12.759, 7.856, 12.856)
      ..cubicTo(7.759, 12.952, 7.641, 13, 7.5, 13)
      ..cubicTo(7.359, 13, 7.241, 12.952, 7.144, 12.856)
      ..cubicTo(7.048, 12.759, 7, 12.641, 7, 12.5)
      ..lineTo(7, 4.707)
      ..lineTo(4.854, 6.854)
      ..cubicTo(4.754, 6.953, 4.636, 7.003, 4.5, 7.003)
      ..cubicTo(4.364, 7.003, 4.246, 6.953, 4.146, 6.854)
      ..lineTo(2, 4.707)
      ..lineTo(2, 12.5)
      ..cubicTo(2, 12.641, 1.952, 12.759, 1.856, 12.856)
      ..cubicTo(1.759, 12.952, 1.641, 13, 1.5, 13)
      ..cubicTo(1.359, 13, 1.241, 12.952, 1.144, 12.856)
      ..cubicTo(1.048, 12.759, 1, 12.641, 1, 12.5)
      ..lineTo(1, 3.5)
      ..cubicTo(1, 3.359, 1.048, 3.241, 1.144, 3.144)
      ..close()
      ..moveTo(13.146, 10.146)
      ..cubicTo(13.246, 10.047, 13.364, 9.997, 13.5, 9.997)
      ..cubicTo(13.636, 9.997, 13.754, 10.047, 13.854, 10.146)
      ..cubicTo(13.953, 10.246, 14.003, 10.364, 14.003, 10.5)
      ..cubicTo(14.003, 10.636, 13.953, 10.754, 13.854, 10.854)
      ..lineTo(11.854, 12.854)
      ..cubicTo(11.754, 12.953, 11.636, 13.003, 11.5, 13.003)
      ..cubicTo(11.364, 13.003, 11.246, 12.953, 11.146, 12.854)
      ..lineTo(9.146, 10.854)
      ..cubicTo(9.047, 10.754, 8.997, 10.636, 8.997, 10.5)
      ..cubicTo(8.997, 10.364, 9.047, 10.246, 9.146, 10.146)
      ..cubicTo(9.246, 10.047, 9.364, 9.997, 9.5, 9.997)
      ..cubicTo(9.636, 9.997, 9.754, 10.047, 9.854, 10.146)
      ..lineTo(11, 11.293)
      ..lineTo(11, 3.5)
      ..cubicTo(11, 3.359, 11.048, 3.241, 11.144, 3.144)
      ..cubicTo(11.241, 3.048, 11.359, 3, 11.5, 3)
      ..cubicTo(11.641, 3, 11.759, 3.048, 11.856, 3.144)
      ..cubicTo(11.952, 3.241, 12, 3.359, 12, 3.5)
      ..lineTo(12, 11.293)
      ..lineTo(13.146, 10.146)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_MarkdownIconPainter old) => old.color != color;
}
```
