Skip to content

Commit

Permalink
Add underline entity (#1153)
Browse files Browse the repository at this point in the history
add underline to entities
  • Loading branch information
grizzlygarillaz authored Dec 28, 2024
1 parent bdfcf7e commit 0406fb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Helpers/Entities.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ private function syntax(): array
'pre' => ["```\n%s```", '<pre>%s</pre>'],
'text_mention' => ['[%1$s](tg://user?id=%1$s)', '<a href="tg://user?id=%1$s">%1$s</a>'],
'text_link' => ['[%s](%s)', '<a href="%2$s">%1$s</a>'],
// underline doesn't have a markdown style
'underline' => ['%s', '<u>%s</u>']
];
}
}

0 comments on commit 0406fb1

Please sign in to comment.