mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
Allow GitHub embeds to specify optional language
This commit is contained in:
parent
56a47f137f
commit
6686e53530
|
@ -181,7 +181,7 @@ mixin codepen(slug, height, default_tab)
|
||||||
alt_file - [string] alternative file path used in footer and link button
|
alt_file - [string] alternative file path used in footer and link button
|
||||||
height - [integer] height of code preview in px
|
height - [integer] height of code preview in px
|
||||||
|
|
||||||
mixin github(repo, file, alt_file, height)
|
mixin github(repo, file, alt_file, height, language)
|
||||||
- var branch = ALPHA ? "develop" : "master"
|
- var branch = ALPHA ? "develop" : "master"
|
||||||
- var height = height || 250
|
- var height = height || 250
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user