You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For our SOTorrent project, we developed an extraction method that splits Stack Overflow posts into code and text blocks. Our method considers other Markdown "dialects", for example GitHub's approach using three back-ticks ``` (see also the corresponding test cases). If you'd be interested in integrating that method into Guttenberg, just let me know.
The getCodeParagraphs in PostUtils, is a bit faulty in edge cases.
In markdown, the four spaces creates a code block, only if there is a new line before the starting of the code block.
The getCodeParagraphs function should check this as well.
The text was updated successfully, but these errors were encountered: