I am developing an application that breaks down markdown content into a string of '---' and presents it as a slide. The challenge I am facing is that when there is table markdown included, like in the example below, it gets split along with the '---' causing an error. How can I modify my code to only split '---' as a string and exclude the table markdown?
# Title
---
|hello|world|
|---|---|
|asd|zxc|