gentleface

Gentleface › Development › markdown-swap

markdown-swap icon

Markdown swap: convert to markdown, markdown conversion. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

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 6.5C8 6.641 7.952 6.759 7.856 6.856C7.759 6.952 7.641 7 7.5 7C7.359 7 7.241 6.952 7.144 6.856C7.048 6.759 7 6.641 7 6.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.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9 10.5C9 10.776 9.224 11 9.5 11L13.5 11C13.776 11 14 10.776 14 10.5C14 10.367 13.947 10.24 13.854 10.146L11.854 8.146C11.658 7.951 11.342 7.951 11.146 8.146C10.951 8.342 10.951 8.658 11.146 8.854L12.293 10L9.5 10C9.224 10 9 10.224 9 10.5ZM13.5 13C13.776 13 14 12.776 14 12.5C14 12.224 13.776 12 13.5 12L9.5 12C9.224 12 9 12.224 9 12.5C9 12.633 9.053 12.76 9.146 12.854L11.146 14.854C11.342 15.049 11.658 15.049 11.854 14.854C12.049 14.658 12.049 14.342 11.854 14.146L10.707 13L13.5 13Z"/></svg>
React
// Gentleface "markdown-swap" (line-round), MIT. https://gentleface.com/icons/markdown-swap
import type { SVGProps } from 'react';

export function MarkdownSwapIcon(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 6.5C8 6.641 7.952 6.759 7.856 6.856C7.759 6.952 7.641 7 7.5 7C7.359 7 7.241 6.952 7.144 6.856C7.048 6.759 7 6.641 7 6.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.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9 10.5C9 10.776 9.224 11 9.5 11L13.5 11C13.776 11 14 10.776 14 10.5C14 10.367 13.947 10.24 13.854 10.146L11.854 8.146C11.658 7.951 11.342 7.951 11.146 8.146C10.951 8.342 10.951 8.658 11.146 8.854L12.293 10L9.5 10C9.224 10 9 10.224 9 10.5ZM13.5 13C13.776 13 14 12.776 14 12.5C14 12.224 13.776 12 13.5 12L9.5 12C9.224 12 9 12.224 9 12.5C9 12.633 9.053 12.76 9.146 12.854L11.146 14.854C11.342 15.049 11.658 15.049 11.854 14.854C12.049 14.658 12.049 14.342 11.854 14.146L10.707 13L13.5 13Z" />
    </svg>
  );
}
Vue
Vue: see /icons/markdown-swap.md
Svelte
Svelte: see /icons/markdown-swap.md
HTML img
HTML img: see /icons/markdown-swap.md
CSS
CSS: see /icons/markdown-swap.md
Data URL
Data URL: see /icons/markdown-swap.md
Sprite
Sprite: see /icons/markdown-swap.md
SwiftUI
SwiftUI: see /icons/markdown-swap.md
Compose
Compose: see /icons/markdown-swap.md
Android XML
Android XML: see /icons/markdown-swap.md
Flutter
Flutter: see /icons/markdown-swap.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. 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. More in how to use.

With npm: import { MarkdownSwapIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
convert to markdown, markdown conversion
Example
Convert a rich-text page to Markdown
Built from
markdown + swap
Tags
markdown, md, markup, text, format, readme, document, developer, swap
Category
Development
Component name
MarkdownSwapIcon
History
  • added, released in 0.6.0
Since
version 0.6.0

Family 2

More development icons

For agents

Metadata: /icons/markdown-swap.json · Markdown: /icons/markdown-swap.md · SVG: https://gentleface.com/svg/{style}/16/markdown-swap.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/markdown-swap.png