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

Revert "Eliminate requirement to add blank line to get markdown formatting" #3061

Merged
merged 1 commit into from
Jan 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/violet-planes-appear.md

This file was deleted.

4 changes: 0 additions & 4 deletions packages/lib/preprocess/index.cjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
const mdsvex = require('mdsvex');
const { highlighter } = require('./src/utils/highlighter.cjs');
const addScriptTags = require('./src/add-script-tags.cjs');
const addBlankLines = require('./src/add-blank-lines.cjs');
const processQueries = require('./src/process-queries.cjs');
const fixListsWithinEachBlocks = require('./src/fix-lists-within-each-blocks.cjs');
const addClasses = require('./src/add-classes.cjs');
// This is includes future proofing to add support for Prism highlighting
const processFrontmatter = require('./src/frontmatter/process-frontmatter.cjs');
Expand All @@ -16,7 +14,6 @@ module.exports = function evidencePreprocess(componentDevelopmentMode = false) {
injectPartials,
addScriptTags,
processQueries.processQueries(componentDevelopmentMode),
addBlankLines,
mdsvex.mdsvex({
extensions: ['.md'],
smartypants: {
Expand Down Expand Up @@ -45,7 +42,6 @@ module.exports = function evidencePreprocess(componentDevelopmentMode = false) {
]
]
}),
fixListsWithinEachBlocks,

// Add both script tags to all markdown files, if they are missing
processFrontmatter()
Expand Down
54 changes: 0 additions & 54 deletions packages/lib/preprocess/src/add-blank-lines.cjs

This file was deleted.

74 changes: 0 additions & 74 deletions packages/lib/preprocess/src/add-blank-lines.spec.cjs

This file was deleted.

86 changes: 0 additions & 86 deletions packages/lib/preprocess/src/fix-lists-within-each-blocks.cjs

This file was deleted.

114 changes: 0 additions & 114 deletions packages/lib/preprocess/src/fix-lists-within-each-blocks.spec.cjs

This file was deleted.

Loading
Loading