@using PlotLine.Models.WritingSolver @model SolverPageView @{ Layout="_PublicLayout"; }
@if(Model.Graph.IsDemo) {

Demonstration content · The curated collection is on its way.

} @if(Model.IsFeature) { var feature=(SolverFeature)Model.Page;

@feature.Title

@feature.Summary

@foreach(var paragraph in feature.Content.Split("\n\n")) {

@paragraph

} @if(feature.Screenshot is not null) { @feature.Title workspace in PlotDirector }

Writing problems this can help with

@foreach(var solution in Model.Graph.Solutions.Where(s=>s.Active && s.Features.Any(f=>f.Feature==feature.Id))) {

@solution.PageTitle

}

See PlotDirector in action →

} else { var solution=(SolverSolution)Model.Page; @if(solution.Related.Count>0) {

You might also find this useful

} @foreach(var id in solution.Related) { var related=Model.Graph.Solutions.Single(s=>s.Id==id && s.Active);

@related.PageTitle

} } @if(Model.Page.Questions.Count>0) {

Questions this helps answer

    @foreach(var question in Model.Page.Questions) {
  • @question
  • }
} Find a way through your writing problem →