René's URL Explorer Experiment


Title: Add support for "<%_", "_%>" and "-%>" delimiters in templating in @angular-devkit/core · Issue #23169 · angular/angular-cli · GitHub

Open Graph Title: Add support for "<%_", "_%>" and "-%>" delimiters in templating in @angular-devkit/core · Issue #23169 · angular/angular-cli

X Title: Add support for "<%_", "_%>" and "-%>" delimiters in templating in @angular-devkit/core · Issue #23169 · angular/angular-cli

Description: 🚀 Feature request Command (mark with an x) generate Description The templating for the @angular/devkit library uses EJS, sort of but doesn't support whitespace slurping the way that the documentation of EJS has declared it. Having this w...

Open Graph Description: 🚀 Feature request Command (mark with an x) generate Description The templating for the @angular/devkit library uses EJS, sort of but doesn't support whitespace slurping the way that the documentati...

X Description: 🚀 Feature request Command (mark with an x) generate Description The templating for the @angular/devkit library uses EJS, sort of but doesn't support whitespace slurping the way that the documen...

Opengraph URL: https://github.com/angular/angular-cli/issues/23169

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add support for \"\u003c%_\", \"_%>\" and \"-%>\" delimiters in templating in @angular-devkit/core","articleBody":"# 🚀 Feature request\r\n\r\n### Command (mark with an `x`)\r\n\r\n- [x] generate\r\n\r\n### Description\r\n\r\nThe templating for the @angular/devkit library uses EJS, sort of but doesn't support whitespace slurping the way that the documentation of EJS has declared it. Having this would enable schematic templates to be much more flexible with their whitespace and therefor easier to read while still creating nicely formatted files.\r\n\r\n### Describe the solution you'd like\r\n\r\nThe three delimiters: `\"\u003c%_\"`, `\"_%>\"` and `\"-%>\"` should just be added and work the same way that they do in EJS.\r\n\r\nI already have an idea of the code that I'd like to add, and a pull request almost ready. It's very simple and only affects one file.\r\n\r\n### Examples\r\n\r\nWithin [@schematics/angular](https://npmjs.com/package/@schematics/angular) this would allow an example like the following\r\n```\r\nimport { NgModule } from '@angular/core';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\n\u003c%_ if (routing) { %>\r\nimport { AppRoutingModule } from './app-routing.module';\r\n\u003c%_ } -%>\r\nimport { AppComponent } from './app.component';\r\n\r\n@NgModule({\r\n  declarations: [\r\n    AppComponent\r\n  ],\r\n  imports: [\r\n    \u003c%_ if (routing) { -%>\r\n    AppRoutingModule,\r\n    \u003c%_ } -%>\r\n    BrowserModule\r\n  ],\r\n  providers: [],\r\n  bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }\r\n```\r\n\r\nWhich would generate with the correct whitespace.","author":{"url":"https://github.com/vector67","@type":"Person","name":"vector67"},"datePublished":"2022-05-18T14:12:45Z","url":"https://github.com/angular/angular-cli/issues/23169"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ecd39972-570a-e480-2faa-fda0f4b62e1e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8612:2C4BED:354EABB:43BD64B:6B01E2B8
html-safe-nonce73f2b89c8e1f01e55b0396fe918c7b873cefba6c1f088eda0765ad4b15ec2a2c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjEyOjJDNEJFRDozNTRFQUJCOjQzQkQ2NEI6NkIwMUUyQjgiLCJ2aXNpdG9yX2lkIjoiMTM5MDE4NTY2NjAyMDc2MjI5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac30d6d247dff62160a8be5508a9bc3b04080e8f9f8172573bfd693e0ffe832145
hovercard-subject-tagissue:1240033062
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/23169/issue_layout
twitter:imagehttps://opengraph.githubassets.com/68ff68e9888ed46eb14d7cdd87cc2461cfee5f81fb1dcd86210f7a5cc55f3c7f/angular/angular-cli/issues/23169
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/68ff68e9888ed46eb14d7cdd87cc2461cfee5f81fb1dcd86210f7a5cc55f3c7f/angular/angular-cli/issues/23169
og:image:alt🚀 Feature request Command (mark with an x) generate Description The templating for the @angular/devkit library uses EJS, sort of but doesn't support whitespace slurping the way that the documentati...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevector67
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/23169#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F23169
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F23169
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/23169
Reloadhttps://github.com/angular/angular-cli/issues/23169
Reloadhttps://github.com/angular/angular-cli/issues/23169
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests23 (23)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/23169
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/23169
Enhancementhttps://github.com/angular/angular-cli/issues?q=type:"Enhancement"
Add support for "<%_", "_%>" and "-%>" delimiters in templating in @angular-devkit/corehttps://github.com/angular/angular-cli/issues/23169#top
area: @angular-devkit/corehttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fcore%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%22
feature: in backlogFeature request for which voting has completed and is now in the backloghttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%3A%20in%20backlog%22
needsTriagehttps://github.com/angular/angular-cli/milestone/11
https://github.com/vector67
vector67https://github.com/vector67
on May 18, 2022https://github.com/angular/angular-cli/issues/23169#issue-1240033062
@schematics/angularhttps://npmjs.com/package/@schematics/angular
alan-agius4https://github.com/alan-agius4
needs: discussionOn the agenda for team meeting to determine next stepshttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20discussion%22
area: @angular-devkit/corehttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fcore%22
on May 19, 2022https://github.com/angular/angular-cli/issues/23169#event-6639719899
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
on May 19, 2022https://github.com/angular/angular-cli/issues/23169#event-6639730076
dgp1130https://github.com/dgp1130
needs: discussionOn the agenda for team meeting to determine next stepshttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20discussion%22
on Jun 16, 2022https://github.com/angular/angular-cli/issues/23169#event-6823058770
alan-agius4https://github.com/alan-agius4
feature: in backlogFeature request for which voting has completed and is now in the backloghttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%3A%20in%20backlog%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%22
on Nov 30, 2022https://github.com/angular/angular-cli/issues/23169#event-7923076858
https://github.com/andresjosehr
andresjosehrhttps://github.com/andresjosehr
on Feb 3, 2023https://github.com/angular/angular-cli/issues/23169#issuecomment-1414862222
https://github.com/field123
field123https://github.com/field123
on Sep 23, 2023https://github.com/angular/angular-cli/issues/23169#issuecomment-1732395901
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/23169
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/23169
area: @angular-devkit/corehttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fcore%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%22
feature: in backlogFeature request for which voting has completed and is now in the backloghttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%3A%20in%20backlog%22
Enhancementhttps://github.com/angular/angular-cli/issues?q=type:"Enhancement"
needsTriageNo due datehttps://github.com/angular/angular-cli/milestone/11
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.