mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
implement markup models for different formats
This commit is contained in:
parent
805af30d5b
commit
83a5fc9d6e
6 changed files with 242 additions and 213 deletions
17
src/Model/Gtk/Pango/Markup/Plain.php
Normal file
17
src/Model/Gtk/Pango/Markup/Plain.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Yggverse\Yoda\Model\Gtk\Pango\Markup;
|
||||
|
||||
class Plain extends \Yggverse\Yoda\Abstract\Model\Gtk\Pango\Markup
|
||||
{
|
||||
public static function format(
|
||||
string $plain
|
||||
): string
|
||||
{
|
||||
return self::code(
|
||||
$plain
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue