andreypopp / andreypopp/reactdown

Unexpected data value while parsing

Aperta
#24 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
117
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm trying to pass a `filter` prop set to `Interest` to a `FilterPoint` component from inside a markdown file. Here's my code:

```
..FilterPoint
---
filter: Interest
---
```

And here's my config:

```
{
directives: {
FilterPoint: {
component: {
source: './components/stackedbar/FilterPoint.js'
}
}
}
}
```

This is triggering the following error:

```
ERROR in ./contents/frontend/results.md
Found an unexpected data value while parsing ..FilterPoint directive at line 6 column 1
```

Any idea?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.