Skip to content

Commit 6ed2092

Browse files
committed
fcn relocated to courses packate...
(alongside its only usage)
1 parent aed7015 commit 6ed2092

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

packages/common-ui/src/components/cardRendering/MarkdownRendererHelpers.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,6 @@ export function splitByDelimiters(text: string, l: string, r: string): string[]
3535
return ret;
3636
}
3737

38-
function splitText(
39-
text: string,
40-
leftBound: string,
41-
rightBound: string
42-
): {
43-
left: string;
44-
middle: string;
45-
right: string;
46-
} {
47-
const leftSplit = text.split(leftBound);
48-
const left = leftSplit[0];
49-
50-
const rightSplit = leftSplit[1].split(rightBound);
51-
const middle = rightSplit[0];
52-
const right = rightSplit[1];
53-
54-
return { left, middle, right };
55-
}
56-
5738
export function splitTextToken(token: Tokens.Text): Tokens.Text[] {
5839
if (containsComponent(token)) {
5940
const textChunks = splitByDelimiters(token.text, '{{', '}}');

0 commit comments

Comments
 (0)