codehike
codehike copied to clipboard
Allow import of external files with from-annotation
I read https://codehike.org/docs/annotations#from-annotation and then tried:
'''js React.js
# from https://raw.githubusercontent.com/facebook/react/main/scripts/flow/runFlow.js
'''
but it does nothing. Being able to link to external code files, rather than copying and pasting code into all our documentation is important. Especially since code changes frequently.
Is there any workaround, like writing a short component in Nextra to import the code then pass it to Code Hike, possible please?