This commit is contained in:
Shan Carter
2017-03-22 16:16:56 -07:00
2 changed files with 16 additions and 2 deletions
+15 -1
View File
@@ -1,6 +1,20 @@
# Distill Templates
This is the repository for the distill web framework. If you're interesting in just using the framework to write an article for the [Distill journal](http://distill.pub), visit http://distill.pub/guide/. If you're interested in submitting pull requests or developing on the framework itself, read on.
This is the repository for the distill web framework. If you're interesting in just using the framework to write an article for the [Distill journal](http://distill.pub), visit http://distill.pub/guide/.
The general process for using this framework is to hotlink the compiled code in your dev environment.
```html
<script src="http://distill.pub/template.v1.js"></script>
```
You can also install it as a local dependency through npm or with [yarn](https://yarnpkg.com).
```
npm install --D distill-template
```
If you're interested in submitting pull requests or developing on the framework itself, read on.
## Development
+1 -1
View File
@@ -17,7 +17,7 @@ export default function(dom, data) {
(full, x, char) => char);
val = val.replace(/{\\([a-zA-Z])}/g,
(full, char) => char);
e.entryTags[k] = val;
e.entryTags[k.toLowerCase()] = val;
}
bibliography[e.citationKey] = e.entryTags;
bibliography[e.citationKey].type = e.entryType;