OSCOSS / fiduswriter

This repository only contains the issue list relevant for the work the OSCOSS project is conducting on Fidus Writer. The Fidus Writer sources can be found at https://github.com/fiduswriter/fiduswriter .
1 stars 1 forks source link

code integration #84

Open PhilippMayr opened 7 years ago

PhilippMayr commented 7 years ago

in WP 2 we talk about code integration in fidus. I suggest to create a project in our OSCOSS git and place some R code there which should be used by some demo documents

"We will add a “code lookup” functionality, initially connected to the GitHub hosting service for software source code repositories."

johanneswilm commented 7 years ago

Is the idea that this simply lets the user display code snippets in the document? Or are these code snippets to be executed? If this is the case, we we will need to figure out how to do this in each of the output formats.

afshinsadeghi commented 7 years ago

To my point of view, it is the feature to

  1. support their storage and 2 support for showing them in the text and 3.updating them automatically in the doc if the source code is updated.
johanneswilm commented 7 years ago

Support for showing in the text (point 2) is present already.

As for point 3: I am not so sure this is always a good idea. If one links to a function within a github project to demonstrate something, and then that function changes fundamentally and it is automatically updated in the text, then the explanatory text around it will no longer make much sense. At least there should be a way to stop the automatic change from happening (a confirmation dialog or alike).

afshinsadeghi commented 6 years ago

This is moved the next Phase of the project.