You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-42Lines changed: 0 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,10 @@
26
26
-[`validateLinks`](#validatelinks)
27
27
-[`paddedTable`](#paddedtable)
28
28
-[`toc`](#toc)
29
-
-[`contributors`](#contributors)
30
29
-[`plugins`](#plugins)
31
30
-[`fixers`](#fixers)
32
31
-[Opt-in Features](#opt-in-features)
33
32
-[Table of Contents](#table-of-contents-1)
34
-
-[Contributors Table](#contributors-table)
35
33
-[Reporters](#reporters)
36
34
-[Install](#install)
37
35
-[License](#license)
@@ -230,10 +228,6 @@ Boolean. Set to `false` to keep markdown tables compact. A temporary option unti
230
228
231
229
Boolean. Set to `false` to skip generating (or replacing) a Table of Contents. A temporary option until we write a more flexible plugin ([#36](https://github.com/vweevers/hallmark/issues/36)).
232
230
233
-
### `contributors`
234
-
235
-
String or array. See [Contributors Table](#contributors-table) for details. Aliased as `community`. Set to `false` to disable this feature entirely.
236
-
237
231
### `plugins`
238
232
239
233
An array of extra plugins, to be applied in both lint and fix mode.
@@ -256,42 +250,6 @@ Add this heading to a markdown file:
256
250
257
251
Running `hallmark fix` will then create or update a table of contents.
258
252
259
-
### Contributors Table
260
-
261
-
_Note: this feature might get removed in a next major version ([#38](https://github.com/vweevers/hallmark/issues/38))._
262
-
263
-
Add this heading to an otherwise empty `CONTRIBUTORS.md`:
264
-
265
-
```markdown
266
-
# Contributors
267
-
```
268
-
269
-
Or this heading to a `README.md`:
270
-
271
-
```markdown
272
-
## Contributors
273
-
```
274
-
275
-
Running `hallmark fix` will then render contributors from `git` history to a markdown table. To add links to GitHub and social profiles of contributors, add the `contributors`[Package Option](#package-options):
276
-
277
-
```json
278
-
"hallmark": {
279
-
"contributors": [{
280
-
"name": "Sara",
281
-
"email": "sara@example.com",
282
-
"github": "sara",
283
-
"twitter": "sara"
284
-
}]
285
-
}
286
-
```
287
-
288
-
Where `contributors` is either:
289
-
290
-
- An array in the form of `[{ email, name, … }, … ]`;
291
-
- A module id or path to a file that exports `contributors` or `{ contributors }`.
292
-
293
-
Alternatively, put the metadata in the [`author` or `contributors` fields](https://docs.npmjs.com/files/package.json#people-fields-author-contributors) in `package.json`. For details, please see [`remark-git-contributors`](https://github.com/remarkjs/remark-git-contributors#metadata).
0 commit comments