Open pomber opened 1 year ago
We could have a more general version of code mentions.
Code mentions are text-to-code links, but we could have code-to-text also. But also code-to-code, code-to-preview and preview-to-code.
For code-to-code imagine something like this from https://2019.wattenberger.com/blog/react-hooks:
For code-to-preview here's an example from react docs:
Related #81
We could have a more general version of code mentions.
Code mentions are text-to-code links, but we could have code-to-text also. But also code-to-code, code-to-preview and preview-to-code.
For code-to-code imagine something like this from https://2019.wattenberger.com/blog/react-hooks:![image](https://github.com/code-hike/codehike/assets/1911623/71d48255-25dc-4f0e-88e1-20086f558b96)
For code-to-preview here's an example from react docs:![image](https://github.com/code-hike/codehike/assets/1911623/c3248e1e-bcd1-482e-8f9a-0c06c66671ec)