mirror of
https://github.com/fengxxc/wechatmp2markdown.git
synced 2026-05-09 12:07:40 +08:00
refactor: 整理代码
This commit is contained in:
@@ -58,6 +58,7 @@ func formatContent(pieces []parse.Piece, depth int) string {
|
||||
case parse.TABLE:
|
||||
// TODO
|
||||
case parse.CODE_INLINE:
|
||||
// TODO
|
||||
case parse.CODE_BLOCK:
|
||||
pieceMdStr = formatCodeBlock(piece)
|
||||
case parse.BLOCK_QUOTES:
|
||||
@@ -67,6 +68,7 @@ func formatContent(pieces []parse.Piece, depth int) string {
|
||||
case parse.U_LIST:
|
||||
pieceMdStr = formatList(piece, depth)
|
||||
case parse.HR:
|
||||
// TODO
|
||||
case parse.BR:
|
||||
pieceMdStr = " \n"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user