Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can typedoc output markdown? #174

Closed
sidharthv opened this issue Jan 12, 2016 · 12 comments
Closed

Can typedoc output markdown? #174

sidharthv opened this issue Jan 12, 2016 · 12 comments
Labels
question Question about functionality

Comments

@sidharthv
Copy link

Hi Sebastian,

From the DocComments page (http://typedoc.io/guides/doccomments.html) I see "All comments are parsed as markdown". How do you get the markdown for all comments? Would it be possible to output this markdown somehow?
If we could get markdown output for all the comments then we could use this markdown as documentation on GitHub, in say a Readme.md file. The html output is very useful, but if we wanted to put up our API documentation on GitHub then having markdown would really help.

Thanks!

@sebald
Copy link

sebald commented Jan 12, 2016

You could use the JSON output and then iterate over everthing.

@JoshuaKGoldberg
Copy link

I'd like to use TypeDoc to generate README files in a number of projects. This feature would be super useful.

How difficult do you think it would be to implement as a native part of TypeDoc?

@0815fox
Copy link

0815fox commented Jun 21, 2016

You probably could write a template which produces MarkDown instead of html.

@aciccarello
Copy link
Collaborator

@0815fox, it looks like #251 tried to write a template which produces markdown but couldn't change the file extension. Do you know if this is possible?

@curioussavage
Copy link

This would be awesome so we could just use gitbook as the site.

@danmarshall
Copy link

Take a look at https://github.com/kimamula/typedoc-markdown-theme / https://www.npmjs.com/package/typedoc-markdown-theme
I'm not sure if it works with the latest TypeDoc or not.

@paldepind
Copy link

I'm not sure if it works with the latest TypeDoc or not.

It doesn't. 0.6.0 is the last version I can get it to work with.

@cancerberoSgx
Copy link

This works fine and is active: https://github.com/tgreyjs/typedoc-plugin-markdown

@aciccarello
Copy link
Collaborator

@cancerberoSgx Cool! Could you add that plugin to the readme?

@cancerberoSgx
Copy link

sure, I'm on it need some time,

@cancerberoSgx
Copy link

@aciccarello #769

@Gerrit0 Gerrit0 added the question Question about functionality label Dec 31, 2018
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Dec 31, 2018

Closing - typedoc-plugin-markdown can be used to output markdown & is now advertised in the readme.

@Gerrit0 Gerrit0 closed this as completed Dec 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question about functionality
Projects
None yet
Development

No branches or pull requests

10 participants