5 Struct n_markdown_span
gullradriel edited this page 2026-10-09 00:55:18 +02:00

n_markdown_span

One inline run: visible text, a style bitmask, and (for a link) an already-http(s)-validated url. More...

#include "n_markdown.h"

Public Attributes

Name
char * url
char * text
unsigned style

Detailed Description

struct n_markdown_span;

One inline run: visible text, a style bitmask, and (for a link) an already-http(s)-validated url.

Both strings are owned, NUL-terminated; url is NULL unless N_MARKDOWN_LINK is set.

Public Attributes Documentation

variable url

char * url;

variable text

char * text;

variable style

unsigned style;