mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
59 lines
No EOL
1,010 B
PHP
59 lines
No EOL
1,010 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Yggverse\Yoda\Interface\Model\Gtk\Pango;
|
|
|
|
/*
|
|
* Pango markup API
|
|
*
|
|
*/
|
|
interface Markup
|
|
{
|
|
public const ENCODING = 'UTF-8';
|
|
public const TAG_CODE = 'tt';
|
|
public const WRAP_WIDTH = 320;
|
|
|
|
public static function code(
|
|
string $value
|
|
): string;
|
|
|
|
public static function h1(
|
|
string $value
|
|
): string;
|
|
|
|
public static function h2(
|
|
string $value
|
|
): string;
|
|
|
|
public static function h3(
|
|
string $value
|
|
): string;
|
|
|
|
public static function link(
|
|
string $href,
|
|
string $title,
|
|
string $value
|
|
): string;
|
|
|
|
public static function list(
|
|
string $value
|
|
): string;
|
|
|
|
public static function quote(
|
|
string $value
|
|
): string;
|
|
|
|
public static function text(
|
|
string $value
|
|
): string;
|
|
|
|
public static function pre(
|
|
string $value
|
|
): string;
|
|
|
|
public static function tag(
|
|
string $const,
|
|
bool $close
|
|
): string;
|
|
} |