aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md42
1 files changed, 42 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1b8bcdf..97bad79 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,45 @@
# remark-line-input
+A [remark](https://github.com/remarkjs/remark/) plugin that parse Mardown syntax to add support for line input.
+
+
+## Syntax
+
+You can add a line input this way :
+
+```markdown
+[___Placeholder___]
+```
+
+Wich leads to :
+
+![Screenshot](https://raw.githubusercontent.com/arobase-che/remark-line-input/master/images/example_1.png)
+
+
+## Installation
+
+Not ready at the moment.
+
+
+## Configuration
+
+This plugin support custom HTML attributes :
+
+```markdown
+[___Password___]{type=password}
+```
+
+![Screenshot](https://raw.githubusercontent.com/arobase-che/remark-line-input/master/images/example_2.png)
+
+![Screenshot](https://raw.githubusercontent.com/arobase-che/remark-line-input/master/images/example_3.png)
+
+Or :
+
+```markdown
+[___Email___]{.form-elem onchange='check();' #login}
+```
+
+## Licence
+
+MIT