aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 97bad799354a109958159b018043f0eec683e5e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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