mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
Get String Values From Blocks #694
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JustinFay01 on GitHub (Aug 16, 2024).
I have a use case where I need to take out the specific blocks and get their string values. However, I am finding great difficulty in doing so. Is there an easy way to get the actual values from any given block. This is what I have been experimenting with so far:
Obviously, it is very poor in covering every possible case. Does anyone have a solution or can point me in the right direction?
@MihaZupan commented on GitHub (Aug 16, 2024):
See https://github.com/xoofx/markdig/issues/766#issuecomment-1917558093
@JustinFay01 commented on GitHub (Aug 28, 2024):
I solved it by adding this extension: