Skip to content

Conversation

Triumph-light
Copy link
Contributor

No description provided.

@Triumph-light
Copy link
Contributor Author

@QiuShuiBai cc

* @param str
* @returns
*/
function convertObjectStringToMarkdownHtml(str) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果某个属性也是对象的话,缩进会有缺陷。可以看看优化下

a = {
    b: {
        c: 1
    }
    d: 2
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants