| Top |
Support for Markdown is provided via a custom GtkTextBuffer that knows how to render it properly.
GtkTextBuffer *
talkatu_markdown_buffer_new (void);
Creates a new TalkatuMarkdownBuffer that can render Markdown.
void talkatu_markdown_buffer_insert_markdown (TalkatuMarkdownBuffer *buffer,GtkTextIter *iter,const gchar *text,gint len);
Inserts and renders text
into buffer
.
buffer |
The TalkatuMarkdownBuffer instance. |
|
iter |
The GtkTextIter where the text should be inserted. |
|
text |
The UTF-8 Markdown text that should be insterted. |
|
len |
The length of |