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
If so, does anyone have a hint or guide? I've tried installing the afore-mentioned integration, but I'm not seeing how it might be used for Litereate Programming --- basically I want a block of displayed code to be mapped to a matching block in a .py or .scad file in GitHub and when edited in GitBook and merged to then update said code block.
I can see how to include an entire file, but I want a given codeblock to be matched up/display/control only a specified set of lines.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am currently working on:
https://willadams.gitbook.io/design-into-3d
and am at a point where I would like to do "Literate Programming" --- pushing sections/blocks of code to various Python and OpenSCAD files.
Is it possible to, or is anyone using:
https://www.gitbook.com/integrations/github-files
to do Literate Programming?
If so, does anyone have a hint or guide? I've tried installing the afore-mentioned integration, but I'm not seeing how it might be used for Litereate Programming --- basically I want a block of displayed code to be mapped to a matching block in a .py or .scad file in GitHub and when edited in GitBook and merged to then update said code block.
I can see how to include an entire file, but I want a given codeblock to be matched up/display/control only a specified set of lines.
Beta Was this translation helpful? Give feedback.
All reactions