Skip to content
Merged
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
3 changes: 2 additions & 1 deletion src/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ fn content_to_paragraphs(mut content: String) -> Vec<Paragraph> {

if content.lines().count() > 0 {
content.lines().for_each(|line| {
if !line.is_empty() {
// If the line is empty, skip it. We'll handle line spacing elsewhere.
if !line.trim().is_empty() {
// need an "is separator function"
if line.trim() == "#" {
// This will add the separator for single Markdown documents that explicitly
Expand Down
Loading