Skip to content

Commit

Permalink
fix: disable block format.
Browse files Browse the repository at this point in the history
This is to prevent errors with indentation.
  • Loading branch information
envico801 committed Feb 25, 2024
1 parent ec2fe1c commit 006260e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ for (let parentPath in questionsHash) {
const questions = questionsHash[parentPath];
for (let question of questions) {
// if (questionsAdded > 1) {
// break;
// break;
// }
const questionAndAnswer = question.split('A:: ');
let answerText = `A: ${questionAndAnswer.pop().trim()}`;
Expand Down Expand Up @@ -378,13 +378,13 @@ for (let parentPath in questionsHash) {



answerText = answerText.replace(codeBlockStart, (matchText) => {
return `${matchText.trim()}`
})

answerText = answerText.replace(codeBlockEnd, (matchText) => {
return `${matchText.trim()}`
})
// answerText = answerText.replace(codeBlockStart, (matchText) => {
// return `${matchText.trim()}`
// })
//
// answerText = answerText.replace(codeBlockEnd, (matchText) => {
// return `${matchText.trim()}`
// })

answerText = answerText.trim();

Expand Down

0 comments on commit 006260e

Please sign in to comment.