Support for Ren'Py language on GitHub

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
williamd1k0
Newbie
Posts: 19
Joined: Sat Feb 07, 2015 3:08 am
Completed: Catalendas
Projects: Ren'Py for Atom
Organization: Novastrike Media
Github: williamd1k0
itch: williamd1k0
Contact:

Support for Ren'Py language on GitHub

#1 Post by williamd1k0 »

Hello, I have been announce that GitHub now has support for syntax highlighting the Ren'Py language.

I added the Ren'Py using my syntax highlighting that I used in my extension of the Atom editor.

From now on, the Ren'Py can be highlighted everywhere related to GitHub (repositories, gist, comments, conversations and issues).

I will leave here one Gist for example the syntax highlighting and using Markdown.

I ask for help from those who have knowledge in Regex to give maintenance in grammars file because I'm still learning and there are still some highlight issues.

I hope this helps in some way to all users who use Ren'Py, thanks! :)

And I apologize for the Google Translator's english.

Useful links:
Example (Gist): https://gist.github.com/williamd1k0/3b2 ... a3efdd9759
Grammars file (syntax highlighting): https://github.com/williamd1k0/language ... renpy.cson
Linguist (repository of languages on GitHub): https://github.com/github/linguist

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Support for Ren'Py language on GitHub

#2 Post by PyTom »

Thank you so much! What's the best way to coordinate with you so that when I add keywords and other constructs, this gets updated?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
williamd1k0
Newbie
Posts: 19
Joined: Sat Feb 07, 2015 3:08 am
Completed: Catalendas
Projects: Ren'Py for Atom
Organization: Novastrike Media
Github: williamd1k0
itch: williamd1k0
Contact:

Re: Support for Ren'Py language on GitHub

#3 Post by williamd1k0 »

This can be organized using an issue in the repository where is the grammar file, I'll create the issue to advance it.

Maybe writing the keyword and the "type" and showing an example of it, if necessary. For example:

dissolve -> transition statement

Code: Select all

show bg washington
with dissolve
Also, feel free to report any bug in syntax highlighting.

User avatar
williamd1k0
Newbie
Posts: 19
Joined: Sat Feb 07, 2015 3:08 am
Completed: Catalendas
Projects: Ren'Py for Atom
Organization: Novastrike Media
Github: williamd1k0
itch: williamd1k0
Contact:

Re: Support for Ren'Py language on GitHub

#4 Post by williamd1k0 »


Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Majestic-12 [Bot]