Code learning based content
Submitted by OnurUenal on Sat, 02/27/2021 - 14:43
Forums:
Hello,
i try to use the plugin for my wordpress site in combination with some internet services and much css modifications on the h5p plugin. After this the result can be checked on my test site here:
https://onur-uenal.de/test/
i try to create code learning content with the plugin but its not easy for me to do this with the "essay" within the "interactive book". have you maybe a another solution to make this like in my example?
one more question: can i combine my wordpress content --> within --> the h5p content?
thank you
Degrange
Sat, 03/13/2021 - 21:51
Permalink
I am also very interested by
I am also very interested by code learning based content.
There is a very small probability that I create new content type such as :
→ a content type to highlight code (very basic but always usefull)
→ a content type to allow the user to type code with highlighting (too bad there isn't on moodle a way to display all user content)
→ a content type where the user have to code something in python and it is then evaluated to automatically give a grade (using skulpt to translate python in javascript)
But like as said, there is a very small probability that I create that.
Degrange
Sun, 04/11/2021 - 16:40
Permalink
So I started working on this
So I started working on this and I think I will be able to do it. But can't promise anything.
I will use code mirror as code editor and syntax highlighter. Still not sure if I will use the version 5 or the version 6. It would be better to go with the new version but it's very very hard to understand. I was able to make it work without really understanding what I did, I don't know if I keep it that way or if I should switch to the v5 which is easy to handle. I am still thinking :D
Degrange
Tue, 04/13/2021 - 21:25
Permalink
I went with v5.The editor
I went with v5.
The editor widget is done (just have to do some cleaning). The content type to display code work (I now have to add configuration and do some cleaning).
OnurUenal
Wed, 04/14/2021 - 14:56
Permalink
Cooool :-)
sorry for the delay.. i am not so active here. if you want we can connect over discord, skype, whatsapp, slack ... thank you for your interest on this type of learning modul :-)
achaussier
Sat, 05/01/2021 - 10:42
Permalink
Oh, nice improvement !
Hello,
I just searching how do that with H5P and I found your post :) Nice work, thanks.
Just to be sure, this type could be used with the course presentation or only at a standalone object ?
Can we test it, do you have a repository with instruction ?
Have a nice day
Degrange
Wed, 05/05/2021 - 00:56
Permalink
It will probably be
It will probably be compatible with course presentation. I can't be sure at 100% as I still haven't done this part but I will try to do what I can to do it.
Here the current repository : https://github.com/DegrangeM/H5P.Python
Here a post about the content type : https://h5p.org/node/1134219
Here a demo : https://moodle.mathematiques.xyz/course/view.php?id=8
achaussier
Sat, 05/08/2021 - 12:46
Permalink
Thanks
Thanks,
Really nice, I love the demo, many possible useful usages.
I have anothe question. The textarea with highligting could be used alone ? Today I haven't see native highlight option for course presentation and this can be a good addition (or perhaps it already exists a better option I don't know, I'm new with H5P).
Have a nice day
Degrange
Mon, 05/10/2021 - 20:41
Permalink
Yes, but with an other
Yes, but with an other content type I created (code highlighter) : https://github.com/DegrangeM/H5P.CodeHighlighter
OnurUenal
Mon, 05/10/2021 - 21:40
Permalink
Hey looking very good. thank
Hey looking very good. thank you very much to share this with us and for your time. can you tell me how i can use it?
1. need to download the repo?
2. and then install it from wordpress?
Thank you so much :-)
Degrange
Tue, 05/11/2021 - 18:57
Permalink
It's still getting upgrade as
It's still getting upgrade as I discover issue when developping the H5P.Python content type. But if you want the current version, here the library (didn't tested it, maybe I broke something recently)
totoro
Sat, 05/29/2021 - 01:25
Permalink
Degrange, this is a very
Degrange, this is a very interesting content type. Looking forward to the Beta version being released.