Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
J
jekyll-scholar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
caesr-pub
jekyll-scholar
Commits
ebdbacc1
Commit
ebdbacc1
authored
Dec 03, 2012
by
Georgios Gousios
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation for the reference tag
parent
89f7a993
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
README.md
README.md
+28
-0
No files found.
README.md
View file @
ebdbacc1
...
...
@@ -177,6 +177,34 @@ For example, this could be rendered as:
</cite>
</blockquote>
#### Displaying formatted references
If you want to display the full formatted reference entry, you can use the
`reference`
tag. For example, given the following Bibtex entry,
@book{ruby,
title = {The Ruby Programming Language},
author = {Flanagan, David and Matsumoto, Yukihiro},
year = {2008},
publisher = {O'Reilly Media}
}
using
`{% reference ruby %}`
anywhere in your page, it will print
Flanagan, D & Yukihiro, M. (2008).
*The Ruby Programming Language.*
. O'Reilly Media
(provided that you use the default formatting style)
The
`reference`
tag accepts a second optional argument that specifies the
absolute path of the Bibtex file to use as input. Using it, you can override
the file from which the bib entries are read. This can be handy if you
want to use a special Bibtex file as input for a specific page. As an example,
the tag
`{% reference ruby,/home/foo/bar.bib %}`
will attempt to read the key
`ruby`
from file
`/home/foo/bar.bib`
. It will not
fallback to the default Bibtex file.
### Detail Pages
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment