aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md42
-rw-r--r--images/example_1.pngbin0 -> 1073 bytes
-rw-r--r--images/example_2.pngbin0 -> 1081 bytes
-rw-r--r--images/example_3.pngbin0 -> 687 bytes
4 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
diff --git a/images/example_1.png b/images/example_1.png
new file mode 100644
index 0000000..f089895
--- /dev/null
+++ b/images/example_1.png
Binary files differ
diff --git a/images/example_2.png b/images/example_2.png
new file mode 100644
index 0000000..6f0a391
--- /dev/null
+++ b/images/example_2.png
Binary files differ
diff --git a/images/example_3.png b/images/example_3.png
new file mode 100644
index 0000000..136f753
--- /dev/null
+++ b/images/example_3.png
Binary files differ