-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding footnotes and other goodies with JuDoc update and version bump
- Loading branch information
Showing
14 changed files
with
121 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "JuDocTemplates" | ||
uuid = "6793090a-55ae-11e9-0511-73b91164f4ea" | ||
authors = ["Thibaut Lienart <[email protected]>"] | ||
version = "0.2.5" | ||
version = "0.2.6" | ||
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
[compat] | ||
julia = "^1.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,56 @@ | ||
@def title = "Menu 2" | ||
@def title = "More goodies" | ||
@def hascode = true | ||
|
||
# Menu 2 landing page | ||
# More goodies | ||
|
||
## More markdown support | ||
|
||
The Julia Markdown parser in Julia's stdlib is not exactly complete and JuDoc strives to bring useful extensions that are either defined in standard specs such as Common Mark or that just seem like useful extensions. | ||
|
||
* indirect references for instance [like so] | ||
|
||
[like so]: http://existentialcomics.com/ | ||
|
||
or also for images | ||
|
||
![][some image] | ||
|
||
some people find that useful as it allows referring multiply to the same link for instance. | ||
|
||
[some image]: https://upload.wikimedia.org/wikipedia/commons/9/90/Krul.svg | ||
|
||
* un-qualified code blocks and indented code blocks are allowed and are julia by default | ||
|
||
a = 1 | ||
b = a+1 | ||
|
||
or | ||
|
||
``` | ||
a = 1 | ||
b = a+1 | ||
``` | ||
|
||
you can specify the default language with `@def lang = "julia"`. | ||
If you actually want a "plain" code block, qualify it as `plaintext` like | ||
|
||
```plaintext | ||
so this is plain-text stuff. | ||
``` | ||
|
||
## A bit more highlighting | ||
|
||
Extension of highlighting for `pkg` an `shell` mode in Julia: | ||
|
||
```julia-repl | ||
(v1.4) pkg> add JuDoc | ||
shell> blah | ||
julia> 1+1 | ||
(Sandbox) pkg> resolve | ||
``` | ||
|
||
you can tune the colouring etc via the | ||
|
||
* `hljs-meta` (for `julia>`) | ||
* `hljs-metas` (for `shell>`) | ||
* `hljs-metap` (for `...pkg>`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 comment
on commit f0d5a61
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/3766
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.6 -m "<description of version>" f0d5a61f465e30c261dfef9a4381b95297c59489
git push origin v0.2.6
@JuliaRegistrator register()