aboutsummaryrefslogtreecommitdiffhomepage
path: root/Digitigrade/FormattingProvider.php
diff options
context:
space:
mode:
authorwinter2025-02-14 17:56:45 +0000
committerwinter2025-02-14 17:56:58 +0000
commit45ac20c7a4d632bbb23aaba50c2d79ac5ebac465 (patch)
treeeb72692648bdf6c6e78d0334d96342dc79ce728d /Digitigrade/FormattingProvider.php
parent42e38069e28f84af921b4ea877dc84b4de02c3fe (diff)
implement formatted note contents (html and commonmark)
Diffstat (limited to 'Digitigrade/FormattingProvider.php')
-rw-r--r--Digitigrade/FormattingProvider.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/Digitigrade/FormattingProvider.php b/Digitigrade/FormattingProvider.php
new file mode 100644
index 0000000..1d35b38
--- /dev/null
+++ b/Digitigrade/FormattingProvider.php
@@ -0,0 +1,7 @@
+<?php
+namespace Digitigrade;
+
+interface FormattingProvider {
+ public function renderToHtml(string $input): string;
+ public function renderToPlainText(string $input): string;
+} \ No newline at end of file