draft gemtext links conversion to pango markup

This commit is contained in:
yggverse 2024-09-14 03:22:03 +03:00
parent 2c144c3182
commit bf14e7f173
2 changed files with 92 additions and 4 deletions

View file

@ -1,10 +1,12 @@
#ifndef APP_BROWSER_MAIN_TAB_PAGE_CONTENT_TEXT_GEMINI_HPP
#define APP_BROWSER_MAIN_TAB_PAGE_CONTENT_TEXT_GEMINI_HPP
#include <glibmm/markup.h>
#include <glibmm/regex.h>
#include <glibmm/ustring.h>
#include <gtkmm/label.h>
#include <gtkmm/viewport.h>
#include <sstream>
namespace app::browser::main::tab::page::content::text
{
@ -16,7 +18,7 @@ namespace app::browser::main::tab::page::content::text
const Glib::ustring & GEMTEXT
);
static Glib::ustring to_pango(
static Glib::ustring to_pango_markup(
const Glib::ustring & GEMTEXT
);
};