You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: added default link markdown support in default patterns - #825
In the first line, the shebang should be #!/bin/bash instead of #!/bin/sh.
There is an unnecessary import statement for CustomParseShape in line 9. It should be removed.
There is a typo in the comment in line 11. "patters" should be "patterns".
In the newLinestyles function, there is an unnecessary console.log statement in line 15. It should be removed.
In the same newLinestyles function, there is an unnecessary console.log statement in line 18. It should be removed.
In the renderTextStyles function, the regular expression pattern in line 30 is missing a closing slash. It should be /i; instead of /i.
In the same renderTextStyles function, the switch case for "tertiary" color in lines 38-40 has a typo. "third" should be "tertiary".
In the renderLinkWithColor function, the regular expression linkPattern in line 53 is missing a closing parenthesis. It should be /([^\]]+)]\((https?:\/\/[^)]+)/.
In the same renderLinkWithColor function, the switch case for "tertiary" color in lines 72-74 has a typo. "third" should be "tertiary".
In the renderLinkWithColor function, the else if statement condition in lines 80-82 should be if (markdownLinkPattern) instead of if (match).
In the same renderLinkWithColor function, the else if statement condition in lines 80-82 is unnecessary and can be removed.
There is a typo in the comment in line 86. "addional" should be "additional".
In the convertEpochToHumanReadable function, the regular expression pattern in line 103 is missing a closing parenthesis. It should be /\[ts: (\d+)\]/.
There is an unnecessary empty line after the convertEpochToHumanReadable function. It should be removed.
There is an unnecessary empty line after the const DEFAULT_PATTERNS declaration. It should be removed.
Apart from these mistakes and typos, the logic and code structure seem fine.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.