Skip to content
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

✨ FEAT - Add frontmatter block check to Markdown validator GitHub Action #1150

Closed
1 task done
JackDevAU opened this issue Nov 1, 2023 · 2 comments
Closed
1 task done
Assignees
Labels
Area: Backend Relates to backend development e.g. API, Database etc enhancement Type: Feature A suggested idea for this project

Comments

@JackDevAU
Copy link
Member

JackDevAU commented Nov 1, 2023

CC: @bradystroud @adamcogan @BrookJeynes

Hi Team,

Issue

As seen in a recent content change: SSWConsulting/SSW.Rules.Content#7142
Having multiple --- frontmatter blocks inside a rule breaks Rules. This is also quite a hard issue to spot.

Tasks

  • Add multiple frontmatter check into the Content Validation GitHub Action
@JackDevAU JackDevAU added Area: Backend Relates to backend development e.g. API, Database etc Type: Feature A suggested idea for this project enhancement labels Nov 1, 2023
@JackDevAU JackDevAU self-assigned this Nov 8, 2023
@JackDevAU
Copy link
Member Author

JackDevAU commented Nov 20, 2023

There is no real way to check this as --- can be used a separator. For a similar but different approach - I have experimented with a markdown formatter and validator. Which runs as a GitHub Action.

@JackDevAU
Copy link
Member Author

This has now been added to the Content repo and is running as validate-markdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Backend Relates to backend development e.g. API, Database etc enhancement Type: Feature A suggested idea for this project
Projects
None yet
Development

No branches or pull requests

1 participant