-
Notifications
You must be signed in to change notification settings - Fork 140
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
Get all headings for table of contents #174
Comments
There is an implementation of this in yii2-apidoc package: could be useful to extract this into a trait and add it to this package. Happy to review and merge pull requests for this. |
@cebe |
@akshitagupta20 Hi, thanks for offering help. The solution would be a trait, that can be added to a custom markdown class: <?php
class MyCustomMarkdown extends Markdown
{
use HeadlineExtractionTrait;
// ..
}
Hope that is clear, feel free to ask more detailed question. |
I am really new with Open-Source and I am very much interested in contributing not just cause of Hacktoberfest, so can you please further guide me how to solve this issue. |
@cebe |
I already explained it above, please ask more concrete question. |
Hello,
is it possible to get all headings from a string in an extension? I need this for autogenerating a table of contents.
Thank you in advance
The text was updated successfully, but these errors were encountered: