mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
draft gemtext links conversion to pango markup
This commit is contained in:
parent
2c144c3182
commit
bf14e7f173
2 changed files with 92 additions and 4 deletions
|
|
@ -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
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue