Skip to content

Document Razor markup in @functions and local functions #11647

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

Closed
NTaylorMullen opened this issue Mar 22, 2019 · 0 comments · Fixed by #11960
Closed

Document Razor markup in @functions and local functions #11647

NTaylorMullen opened this issue Mar 22, 2019 · 0 comments · Fixed by #11960
Assignees
Labels

Comments

@NTaylorMullen
Copy link

There's a new feature to allow Razor markup in @functions and local functions within Razor. I need to document this: dotnet/aspnetcore#5110

@NTaylorMullen NTaylorMullen self-assigned this Mar 22, 2019
@NTaylorMullen NTaylorMullen added this to the 3.0.0-preview4 milestone Mar 22, 2019
@guardrex guardrex removed the area-mvc label Apr 4, 2019
NTaylorMullen pushed a commit that referenced this issue Apr 12, 2019
- Markup in code blocks were added in order to allow easy templating alternatives for users who are coming from pre-.NET Core days of Razor where `@helper` was an option.
- Expanded the Razor syntax sheet to include the markup in code blocks pieces. Didn't want to call out specifically that this is an alternative to using old school `@helper` because that could technically lead to more confusion for those who are just entering the .NET Core world and have never seen `@helper` in their lives.

#11647
NTaylorMullen pushed a commit that referenced this issue Apr 12, 2019
- Markup in code blocks were added in order to allow easy templating alternatives for users who are coming from pre-.NET Core days of Razor where `@helper` was an option.
- Expanded the Razor syntax sheet to include the markup in code blocks pieces. Didn't want to call out specifically that this is an alternative to using old school `@helper` because that could technically lead to more confusion for those who are just entering the .NET Core world and have never seen `@helper` in their lives.

#11647
NTaylorMullen pushed a commit that referenced this issue Apr 12, 2019
- Markup in code blocks were added in order to allow easy templating alternatives for users who are coming from pre-.NET Core days of Razor where `@helper` was an option.
- Expanded the Razor syntax sheet to include the markup in code blocks pieces. Didn't want to call out specifically that this is an alternative to using old school `@helper` because that could technically lead to more confusion for those who are just entering the .NET Core world and have never seen `@helper` in their lives.

#11647
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants