# Github

**URL:** <https://talk.observablehq.com/t/github/5380>\
**Category:** Feedback\
**Created:** [July 27, 2021, 7:28am UTC](https://talk.observablehq.com/t/github/5380 "2021-07-27T07:28:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![neocarto](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/neocarto/32/6554_2.png) [@neocarto](https://talk.observablehq.com/u/neocarto)\
**Post date:** [July 27, 2021, 7:28am UTC](https://talk.observablehq.com/t/github/5380/1 "2021-07-27T07:28:18Z")

</div>

Questions about Github and your developer practices.

1. I saw that it was possible to download the code of the notebooks easily. Is it useful, in your opinion, to put this code on Github? For reasons of visibility, archiving, etc…

2. Once on github, I saw that it was quite simple to visualize the notebook (e.g. [Covid in France (monthly evolution)](https://neocarto.github.io/huma/covid-in-france-monthly-evolution/)). But is it possible to visualize only some cells ? If yes, how?

Thanks for your answers and thoughts.  
Nice summer to all

---

<div class="post-metadata">

**Author:** ![Fil](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/fil/32/207_2.png) [@Fil](https://talk.observablehq.com/u/Fil)\
**Post date:** [July 27, 2021, 7:40am UTC](https://talk.observablehq.com/t/github/5380/2 "2021-07-27T07:40:43Z")

</div>

No opinion on the first question.

For your second question, the page you show is in fact using the same code as what is given by the “Export \> Embed cells…” menu and then select all the cells and the option “Runtime with JavaScript”. If you want to limit the display to a few cells, just check them in the list, and copy the resulting code:

```auto
<div id="observablehq-url-e40664e9"></div>
<div id="observablehq-viewof-c-e40664e9"></div>
<div id="observablehq-viewof-a-e40664e9"></div>
<div id="observablehq-viewof-b-e40664e9"></div>
<p>Credit: <a href="https://observablehq.com/@neocartocnrs/covid-in-france-monthly-evolution">Covid in France (monthly evolution) by neocarto</a></p>

<script type="module">
import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@4/dist/runtime.js";
import define from "https://api.observablehq.com/@neocartocnrs/covid-in-france-monthly-evolution.js?v=3";
new Runtime().module(define, name => {
  if (name === "url") return new Inspector(document.querySelector("#observablehq-url-e40664e9"));
  if (name === "viewof c") return new Inspector(document.querySelector("#observablehq-viewof-c-e40664e9"));
  if (name === "viewof a") return new Inspector(document.querySelector("#observablehq-viewof-a-e40664e9"));
  if (name === "viewof b") return new Inspector(document.querySelector("#observablehq-viewof-b-e40664e9"));
  return ["urls","maps"].includes(name);
});
</script>

```

as you can see the only difference is that in “embed” the module’s url is `https://api.observablehq.com/@neocartocnrs/covid-in-france-monthly-evolution.js?v=3`, whereas in the downloaded code it is a local (relative) link.

---

<div class="post-metadata">

**Author:** ![neocarto](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/neocarto/32/6554_2.png) [@neocarto](https://talk.observablehq.com/u/neocarto)\
**Post date:** [July 27, 2021, 8:01am UTC](https://talk.observablehq.com/t/github/5380/3 "2021-07-27T08:01:53Z")

</div>

Thanks Fil, your answer is perfect. It works perfectly.  
Same opinion as you concerning question 1: i.e. No opinion.
