Commit Graph
6 Commits
Author SHA1 Message Date
Stevan Freeborn 1c5d57e4ed Fix: Pass Copied Content as prop
Add prop to fence component called content which will
hold the content contained within the fence component.

Update code snippet component so that it filters the fence components
passed to it as children to only display the fence component that
is same language as the selected language and pass the content prop
of the fence component to the copy code button component on each
render of the snippet component.
2023-04-26 19:31:15 -05:00
StevanFreeborn 045336b987 fix: add word break to snippet header styling 2023-04-24 16:34:30 -05:00
Stevan Freeborn e168c5b34c feat: extend code snippet to support method 2023-04-14 21:45:41 -05:00
Stevan Freeborn 955de7db83 feat: add more content 2023-04-12 10:54:07 -05:00
Stevan Freeborn 46018970d7 feat: add dorpdown for snippet language 2023-04-11 23:57:24 -05:00
Stevan Freeborn 5f4d4f656e feat: work on highlighting and displaying language snippets 2023-04-11 22:45:48 -05:00