mirror of
https://github.com/wassname/template.git
synced 2026-06-27 21:24:04 +08:00
Merge branch 'master' of https://github.com/distillpub/distill-template
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user