Can the IndentCount of FenceCode public? #391

Closed
opened 2026-01-29 14:35:35 +00:00 by claunia · 2 comments
Owner

Originally created by @928PJY on GitHub (Aug 13, 2020).

What we are trying to do is to convert the AST back to markdown file, but we found there is some information lost or cannot be accessed. One of that is the IndentCount in FenceCodeBlock, which is an internal property, is that possible to export that?

Originally created by @928PJY on GitHub (Aug 13, 2020). What we are trying to do is to convert the AST back to markdown file, but we found there is some information lost or cannot be accessed. One of that is the `IndentCount` in `FenceCodeBlock`, which is an [internal property](https://github.com/lunet-io/markdig/blob/master/src/Markdig/Syntax/FencedCodeBlock.cs#L56), is that possible to export that?
claunia added the enhancementPR Welcome! labels 2026-01-29 14:35:36 +00:00
Author
Owner

@MihaZupan commented on GitHub (Aug 13, 2020):

Seems reasonable, I don't see a problem with exposing it

@MihaZupan commented on GitHub (Aug 13, 2020): Seems reasonable, I don't see a problem with exposing it
Author
Owner

@928PJY commented on GitHub (Aug 13, 2020):

So as the ColumnWidth in ListBlockItem.
PR created

@928PJY commented on GitHub (Aug 13, 2020): So as the [`ColumnWidth`](https://github.com/lunet-io/markdig/blob/master/src/Markdig/Syntax/ListItemBlock.cs#L23) in `ListBlockItem`. PR created
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#391