diff --git a/Frontend/src/app/md2html/md2html.component.html b/Frontend/src/app/md2html/md2html.component.html index c3768b9..6a7e45c 100644 --- a/Frontend/src/app/md2html/md2html.component.html +++ b/Frontend/src/app/md2html/md2html.component.html @@ -14,9 +14,30 @@
#
for headings, *
for lists, and
**
for bold text, making it intuitive and fast for creating readable, structured content.
Its popularity has grown widely, especially in documentation, blogging, and collaborative platforms like
- GitHub, where simplicity and clarity are key.
+ GitHub, where simplicity and clarity are key.
+
Conversion between HTML and Markdown is common because each serves distinct purposes in
different contexts. Converting Markdown to HTML is a straightforward way to take plain text content and
render it for the web, making it possible to publish articles, documentation, or blog posts without
diff --git a/Frontend/src/app/md2html/md2html.component.ts b/Frontend/src/app/md2html/md2html.component.ts
index 7fa2d43..294f6f6 100644
--- a/Frontend/src/app/md2html/md2html.component.ts
+++ b/Frontend/src/app/md2html/md2html.component.ts
@@ -30,6 +30,7 @@ export class Md2htmlComponent implements AfterContentInit {
this is an example :p`;
protected htmlCode !: string;
protected status: boolean = false;
+ protected to: string = "preview";
protected inputDebouncer = new Subject