github-slugger to 1.4.0 (#43435)
NOTE: This [version][1] includes a breaking fix ([commit af59f343d][2]). More specifically `github-slugger` will no longer trim the text of a heading before generating an ID and (with whitespace converted to `-`) this results in different heading IDs: **Before:** `<h3> foo bar </h3>` --> `<h3 id="foo-bar">...` **After:** `<h3> foo bar </h3>` --> `<h3 id="--foo-bar--">...` The different IDs now break some of our anchor-links, becuase `github-slugger` is used by [rehype-slug][3], which is in turn used by our [autolinkHeadings][4] dgeni post-processor. To avoid the issue with broken anchor links, we update the `renderMethodDetail()` nunjucks macro to omit excess whitespace in headings. [1]: https://github.com/Flet/github-slugger/releases/tag/v1.4.0 [2]: https://github.com/Flet/github-slugger/commit/af59f343dc7fe88a94a79c721fb3225a275a095d [3]: https://github.com/rehypejs/rehype-slug [4]: https://github.com/angular/angular/blob/75a3c778b1f7be913f0287423d40fade68ee9adc/aio/tools/transforms/angular-base-package/post-processors/autolink-headings.js#L3 PR Close #43435
Angular - The modern web developer's platform.
Angular is a development platform for building mobile and desktop web applications
using Typescript/JavaScript and other languages.
Contributing Guidelines
·
Submit an Issue
·
Blog
Documentation
Get started with Angular, learn the fundamentals and explore advanced topics on our documentation website.
Advanced
Development Setup
Prerequisites
- Install Node.js which includes Node Package Manager
Setting Up a Project
Install the Angular CLI globally:
npm install -g @angular/cli
Create workspace:
ng new [PROJECT NAME]
Run the application:
cd [PROJECT NAME]
ng serve
Angular is cross-platform, fast, scalable, has incredible tooling, and is loved by millions.
Quickstart
Ecosystem
Changelog
Learn about the latest improvements.
Upgrading
Check out our upgrade guide to find out the best way to upgrade your project.
Contributing
Contributing Guidelines
Read through our contributing guidelines to learn about our submission process, coding rules and more.
Want to Help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues labeled as help wanted or good first issue.
Code of Conduct
Help us keep Angular open and inclusive. Please read and follow our Code of Conduct.
Community
Join the conversation and help the community.
Love Angular? Give our repo a star ⭐ ⬆️.
