juliadocs / documentermarkdown.jl Goto Github PK
View Code? Open in Web Editor NEWDocumenter's Markdown / MkDocs backend
Home Page: https://DocumenterMarkdown.juliadocs.org
License: Other
Documenter's Markdown / MkDocs backend
Home Page: https://DocumenterMarkdown.juliadocs.org
License: Other
Let's say I have a block in my files within the src
folder, something like
index.md
!!! info
This is import information
then when I do
makedocs(..., format = Markdown(), build = "docs")
this outputs a new file into docs where the syntax is the same (good)
!!! info
This is import information
but if I do
index.md
??? info
This is import information
then I get
??? info This is import information
which is not good. I'm trying to have collapsible blocks (like the ones here but collapsible).
And in order to get them, I would need to have as output in my docs folder:
??? info
This is import information
any hints on how to solve this?
I have this problem when using DocumenterMarkdown.
If we have a block of several docstrings like this:
```@docs
Base.Function1
Base.Function2
```
Some text outside of macro.
then in the output we will get something like this:
<a id='Base.Function1' href='#Base.Function1'>#</a>
**`Base.Function1`** — *Function*.
Docstring text for Function1
<a id='Base.Function2' href='#Base.Function2'>#</a>
**`Base.Function2`** — *Function*.
Docstring text for Function2
Some text outside of macro.
The problem is that we don't have any separator between the end of docstring text and the next text. Because of that it is difficult to further isolate the docstring texts on this page (if we want to convert it to some other format and maybe to make some highlighting for every separate docstring - for example add frames to them).
It would be great to have something like this in the output:
<a id='Base.Function1' href='#Base.Function1'>#</a>
**`Base.Function1`** — *Function*.
Docstring text for Function1
[//]: # (End of docstring)
<a id='Base.Function2' href='#Base.Function2'>#</a>
**`Base.Function2`** — *Function*.
Docstring text for Function2
[//]: # (End of docstring)
Some text outside of macro.
Or any other type of separators (horizontal line, some html tag etc.)
Are there plans to update this package for Documenter 1.0?
This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml
to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix
on this issue.
I'll open a PR within a few hours, please be patient!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.