Conversation
|
Make this it's own tutorial section complete with Dependencies & how to set up & run the example |
|
Please ignore the changes to script-footer.html. I was working on that page, but my code editor does "formatting on save", so it looks like I edited a lot of lines. |
|
@enoldev In "drand(tutorial).md" I reference code in my personal repo. When this PR gets approved we also have to move the code into our launchpad-tutorials repo. From there I can change the script reference tags to use the official launchpad-tutorial repo. |
enoldev
left a comment
There was a problem hiding this comment.
The PR contains changes to other files (CSS and HTML), I think it's probably because your IDE is modifying the files automatically
|
|
||
| To be able start talking with the Drand network you will need to import the necessary libraries. | ||
|
|
||
| <script src="https://emgithub.com/embed-v2.js?target=https%3A%2F%2Fgithub.com%2Fmrodriguez3313%2Fdrandexample%2Fblob%2Fmain%2Fbias.js%23L1-L12&style=github-dark-dimmed&type=code&showBorder=on&showLineNumbers=on&showFileMeta=on&showFullPath=on&showCopy=on"></script> |
There was a problem hiding this comment.
What are you supposed to do with this script? You have already run the bias.js file in the pre-requisites, are you just explaining the code?
There was a problem hiding this comment.
Yeah I am just explaining the code. I didn't know how else to go about it. This is my first tutorial so this would be a good discussion for me.
What happened was I had to get rid of the css classes I made, and so when I saved in that file. It formatted the file |
Co-authored-by: Enol <51820585+enoldev@users.noreply.github.com>
Added a new shortcode for code blocks, I dont know if it is necessary, but its pretty cool. I did this just so I can add the drand example right into the curriculum instead of linking awkwardly to a personal repo or making the drand page much bigger.Let me know if this is a good way to go about adding a new short tutorial/example or we can scrap it and do it a different way.