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
Hey there, I am using this to find the space between the front matter and markdown content so that I can insert an image after the front matter and before everything else.
The bodyBegin attribute seemed to be exactly what I was looking for, but it doesn't behave like I thought it would.
In documents with front matter and a heading (h1, h2, etc.), the bodyBegin line is the line after the heading. I thought that was an intentional choice until I tried without a heading. The bodyBegin line is then the line after the first paragraph of content.
For now, I am just subtracting the amount needed each time (1 or 2 lines). Is this how it's intended to be used though?
This attribute is really useful and hard to find in similar libraries. Yours was the only one I could find. Any help is much appreciated, thanks!
The text was updated successfully, but these errors were encountered:
Hey there, I am using this to find the space between the front matter and markdown content so that I can insert an image after the front matter and before everything else.
The bodyBegin attribute seemed to be exactly what I was looking for, but it doesn't behave like I thought it would.
In documents with front matter and a heading (h1, h2, etc.), the bodyBegin line is the line after the heading. I thought that was an intentional choice until I tried without a heading. The bodyBegin line is then the line after the first paragraph of content.
For now, I am just subtracting the amount needed each time (1 or 2 lines). Is this how it's intended to be used though?
This attribute is really useful and hard to find in similar libraries. Yours was the only one I could find. Any help is much appreciated, thanks!
The text was updated successfully, but these errors were encountered: