Having a file with #+RESULTS: won't have the results actually rendered, when seen in Github.
For example: https://github.com/BuddhiLW/pos-go-expert/blob/main/Notes.org#structs-and-interfaces
The source code in this section actually have the following text in the file, but is not redered:
#+RESULTS:
: struFoo: {Foo 256 true} fundacao.StruFoo
: struFooBar: {[Foo Bar] [256 512] [true false] {Foo 256 true}} fundacao.StruFooBar
: struBarfoo: {[Foo Bar] [256 512] [true false] {Foo 256 true}} fundacao.StruBarfoo
:
: Struct instances of StruFooBar and StruBarfoo will look identical, but aren't.
: Composition vs Standard type (implies direct access vs not direct access):
: struFooBar.S (Foo) == struBarfoo.SFoo.S (Foo)? true
I expected the #+RESULTS section to be rendered in Github automatically.
Can I change the src code header, with some option, that will make the evaluation result "renderable" in Github?
The only way to get halfway there I found relativly quickly would be to post process the result and wrap it in a quote block
This block adds backslashes to the lines of the result, line-breaks would be ignored in githubs quote-rendering otherwise
The interesting part here are the
:postand the:wrapheaderI am not active on github, but I guess this crutch can take you over until github updates to a newer org-ruby version (if that ever happens).