mirror of
https://github.com/wassname/template.git
synced 2026-09-11 12:51:52 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c02748434c | ||
|
|
bed9a09325 |
@@ -8,6 +8,7 @@ export default function(dom, data) {
|
|||||||
if (el) {
|
if (el) {
|
||||||
let rawBib = el.textContent;
|
let rawBib = el.textContent;
|
||||||
let parsed = bibtexParse.toJSON(rawBib);
|
let parsed = bibtexParse.toJSON(rawBib);
|
||||||
|
console.log(parsed);
|
||||||
if(parsed) {
|
if(parsed) {
|
||||||
parsed.forEach(e => {
|
parsed.forEach(e => {
|
||||||
bibliography[e.citationKey] = e.entryTags;
|
bibliography[e.citationKey] = e.entryTags;
|
||||||
|
|||||||
Vendored
+1
@@ -4194,6 +4194,7 @@ var bibliography = function(dom, data) {
|
|||||||
if (el) {
|
if (el) {
|
||||||
var rawBib = el.textContent;
|
var rawBib = el.textContent;
|
||||||
var parsed = bibtexParse.toJSON(rawBib);
|
var parsed = bibtexParse.toJSON(rawBib);
|
||||||
|
console.log(parsed);
|
||||||
if(parsed) {
|
if(parsed) {
|
||||||
parsed.forEach(function (e) {
|
parsed.forEach(function (e) {
|
||||||
bibliography[e.citationKey] = e.entryTags;
|
bibliography[e.citationKey] = e.entryTags;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "distill-template",
|
"name": "distill-template",
|
||||||
"version": "0.0.9",
|
"version": "0.0.10",
|
||||||
"description": "Template for creating Distill articles.",
|
"description": "Template for creating Distill articles.",
|
||||||
"main": "dist/template.js",
|
"main": "dist/template.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user