I'm currently working on a new project using Nuxtjs 3, TypeScript, and the composition API. While I've been able to render the markdown content in the project successfully, there are specific instances where I need to access certain content within the markdown files. Here is an example of one of my markdown files:
---
header.id: introducing
header.title: my title
header.next: nextFileName
header.prev: previousFileName
---
### service One
some content here
<br>
### service two
some content
At this point, I am looking for a way to extract 'service one' and 'service two' as an array, along with the 'next', 'previous', and other contents from the file.
Does anyone have any suggestions on how I can achieve this in the code?