LUA Language #993

Closed
opened 2026-02-04 23:19:28 +03:00 by OVERLORD · 14 comments
Owner

Originally created by @Etheroit on GitHub (Jan 17, 2019).

Describe the feature you'd like
I'd really appreciated if more code languages (such as Lua which is important for me) could be released.

Describe the benefits this feature would bring to BookStack users
I think that there are so much people using languages others than these already setupped.

Additional context
I think that it wont be hard adding more if framework already exists.

Thanks for help!

Originally created by @Etheroit on GitHub (Jan 17, 2019). **Describe the feature you'd like** I'd really appreciated if more code languages (such as Lua which is important for me) could be released. **Describe the benefits this feature would bring to BookStack users** I think that there are so much people using languages others than these already setupped. **Additional context** I think that it wont be hard adding more if framework already exists. Thanks for help!
OVERLORD added the 🛠️ Enhancement💻 Front-End labels 2026-02-04 23:19:28 +03:00
Author
Owner

@Mant1kor commented on GitHub (Jan 17, 2019):

Does markdown-editor not support lua?

@Mant1kor commented on GitHub (Jan 17, 2019): Does markdown-editor not support lua?
Author
Owner

@Etheroit commented on GitHub (Jan 17, 2019):

Not for me at least. I've updated to the latest version anyways

@Etheroit commented on GitHub (Jan 17, 2019): Not for me at least. I've updated to the latest version anyways
Author
Owner

@ssddanbrown commented on GitHub (Jan 18, 2019):

Codemirror supports lua, So support could easily be added, but it might be best to evaluate the cost of including loads of different languages, and perhaps look at different ways of loading them if required.

@ssddanbrown commented on GitHub (Jan 18, 2019): [Codemirror supports lua](https://codemirror.net/mode/lua/index.html), So support could easily be added, but it might be best to evaluate the cost of including loads of different languages, and perhaps look at different ways of loading them if required.
Author
Owner

@Etheroit commented on GitHub (Jan 18, 2019):

I tried to add it on my own but it failed at the end so.

@Etheroit commented on GitHub (Jan 18, 2019): I tried to add it on my own but it failed at the end so.
Author
Owner

@Etheroit commented on GitHub (Jan 18, 2019):

@ssddanbrown Any tips about loading them manually or information if this can be worked on?

@Etheroit commented on GitHub (Jan 18, 2019): @ssddanbrown Any tips about loading them manually or information if this can be worked on?
Author
Owner

@ssddanbrown commented on GitHub (Mar 2, 2019):

This has now been added, Will be in the next patch release.

@ssddanbrown commented on GitHub (Mar 2, 2019): This has now been added, Will be in the next patch release.
Author
Owner

@Etheroit commented on GitHub (Mar 2, 2019):

@ssddanbrown Hey! Thanks. Any clue when the patch release will be on?

@Etheroit commented on GitHub (Mar 2, 2019): @ssddanbrown Hey! Thanks. Any clue when the patch release will be on?
Author
Owner

@ssddanbrown commented on GitHub (Mar 2, 2019):

@DevKurka I have a rough target of next weekend as a target for the patch release. No guarantees though.

@ssddanbrown commented on GitHub (Mar 2, 2019): @DevKurka I have a rough target of next weekend as a target for the patch release. No guarantees though.
Author
Owner

@Etheroit commented on GitHub (Mar 2, 2019):

@ssddanbrown Is there any way to get it installed before it's released?

@Etheroit commented on GitHub (Mar 2, 2019): @ssddanbrown Is there any way to get it installed before it's released?
Author
Owner

@Nico207 commented on GitHub (Mar 7, 2019):

I made the same changes as the commit e471d0c
Adding a block of Lua code does nothing more, the text remains blank.
image

Should I do something more.

I tried on other languages, with the same result (white text)

@Nico207 commented on GitHub (Mar 7, 2019): I made the same changes as the commit e471d0c Adding a block of Lua code does nothing more, the text remains blank. ![image](https://user-images.githubusercontent.com/1179972/53969223-b2f55380-40f8-11e9-973d-11fc7404f1c0.png) Should I do something more. _I tried on other languages, with the same result (white text)_
Author
Owner

@Etheroit commented on GitHub (Mar 7, 2019):

@Nico207 Can reproduce. Had the same issue and that's the only one reason why I am waiting for the update.

@Etheroit commented on GitHub (Mar 7, 2019): @Nico207 Can reproduce. Had the same issue and that's the only one reason why I am waiting for the update.
Author
Owner

@Etheroit commented on GitHub (Mar 7, 2019):

@ssddanbrown Any tip for that?

@Etheroit commented on GitHub (Mar 7, 2019): @ssddanbrown Any tip for that?
Author
Owner

@ssddanbrown commented on GitHub (Mar 8, 2019):

@Nico207 @DevKurka Changes the JS files have to be built via node (Details in the readme).

If you don't want to do that but really need this, Here's a zip of the built JS from the current master branch. Can can try extracting the contained file out to public/dist/app.js. Can't guarantee stability though since this is from a development branch.
app.zip

Otherwise, Will just have to wait for the release.

Changing the files in the commit, or following the above, is not really supported and can cause conflicts on updating BookStack.

@ssddanbrown commented on GitHub (Mar 8, 2019): @Nico207 @DevKurka Changes the JS files have to be built via node (Details in the readme). If you don't want to do that but really need this, Here's a zip of the built JS from the current master branch. Can can try extracting the contained file out to `public/dist/app.js`. Can't guarantee stability though since this is from a development branch. [app.zip](https://github.com/BookStackApp/BookStack/files/2943555/app.zip) Otherwise, Will just have to wait for the release. Changing the files in the commit, or following the above, is not really supported and can cause conflicts on updating BookStack.
Author
Owner

@Nico207 commented on GitHub (Mar 11, 2019):

Thanks for the zip file.
In my case, I don't really need the Lua language. My goal was mainly to understand how to activate other languages (in my case, VB and Pascal), and see if it was simple.

@Nico207 commented on GitHub (Mar 11, 2019): Thanks for the zip file. In my case, I don't really need the Lua language. My goal was mainly to understand how to activate other languages (in my case, VB and Pascal), and see if it was simple.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#993