Commit 120e6255 authored by Sylvester Keil's avatar Sylvester Keil

add embedded bibtex tag

fix #57
parent 4c66f4f4
......@@ -63,6 +63,32 @@ Feature: BibTeX
And the "_site/references.html" file should exist
And I should see "Look, an umlaut: ü!" in "_site/references.html"
@tags @bibtex @wip
Scenario: Embedded BibTeX
Given I have a scholar configuration with:
| key | value |
| style | apa |
And I have a page "references.md":
"""
---
---
References
==========
{% bibtex %}
@book{ruby,
title = {The Ruby Programming Language},
author = {Flanagan, David and Matsumoto, Yukihiro},
year = {2008},
publisher = {O'Reilly Media}
}
{% endbibtex %}
"""
When I run jekyll
Then the _site directory should exist
And the "_site/references.html" file should exist
And I should see "<i>The Ruby Programming Language</i>" in "_site/references.html"
@tags
Scenario: Simple Bibliography Loaded From Default Directory
Given I have a scholar configuration with:
......
......@@ -13,6 +13,7 @@ require 'jekyll/scholar/utilities'
require 'jekyll/scholar/converters/bibtex'
require 'jekyll/scholar/tags/bibliography'
require 'jekyll/scholar/tags/bibtex'
require 'jekyll/scholar/tags/cite'
require 'jekyll/scholar/tags/cite_details'
require 'jekyll/scholar/tags/quote'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment