Adiciona tinyblocks-syntax, tinyblocks-regex e tinyblocks-markdown (com testes)
This commit is contained in:
1 parent
c75d4be1c2
commit
a921f6574d
16 files changed
+1846
-4
No files matched your search
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* TinyBlocks - tb_markdown.h
|
||||
* Library tinyblocks-markdown: converte Markdown para HTML, XML ou SVG.
|
||||
* Independente do editor.
|
||||
*/
|
||||
#ifndef TINYBLOCKS_MARKDOWN_H
|
||||
#define TINYBLOCKS_MARKDOWN_H
|
||||
|
||||
#include <tinyblocks/tinyblocks.h>
|
||||
|
||||
TB_API const TinyBlocks_LibraryDescriptor* tb_markdown_get_library(void);
|
||||
|
||||
/* -- API C (resultados com malloc; libere com free) ---------------------- */
|
||||
TB_API char* tb_markdown_to_html(const char* md);
|
||||
TB_API char* tb_markdown_to_xml(const char* md);
|
||||
TB_API char* tb_markdown_to_svg(const char* md);
|
||||
|
||||
/* Variante do SVG com largura/fonte configuraveis. */
|
||||
TB_API char* tb_markdown_to_svg_opts(const char* md, int width, int font_size);
|
||||
|
||||
TB_API const char* tb_markdown_last_error(void);
|
||||
|
||||
#endif /* TINYBLOCKS_MARKDOWN_H */
|
||||
Reference in new issue
Block a user