An open API service indexing awesome lists of open source software.

https://github.com/tschoffelen/gatsby-remark-fountain

Plugin to render Fountain screenwriting syntax in `gatsby-transformer-remark`.
https://github.com/tschoffelen/gatsby-remark-fountain

fountain gatsby gatsby-transformer-remark

Last synced: 2 months ago
JSON representation

Plugin to render Fountain screenwriting syntax in `gatsby-transformer-remark`.

Awesome Lists containing this project

README

        

# Gatsby Remark Fountain extension

Adds [Fountain](https://fountain.io) code support to Gatsby's Remark integration.

## Example

When installed, this will turn:

```markdown
This is a bit of dialogue from the movie:

```fountain
INT. NCIS OFFICE - DAY

GIBBS
Records of the cab company?

ZIVA
Working on it.
```
```

Into this:

```html

This is a bit of dialogue from the movie:


INT. NCIS OFFICE - DAY



GIBBS


Records of the cab company?




ZIVA


Working on it.




```

## Installation

```shell
yarn add gatsby-remark-fountain
```

Then, add it to the configuration of the `gatsby-transformer-remark`
plugin in your `gatsby-config.js` file:

```js
{
resolve: "gatsby-transformer-remark",
options: {
plugins: [
"gatsby-remark-fountain"
]
}
}
```

If you also use `gatsby-remark-prismjs` or a similar syntax highlighter, make sure to include it after the `gatsby-remark-fountain` plugin. Order matters!