Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AsciiDoc support #3564

Closed
bkmgit opened this issue Dec 12, 2022 · 5 comments
Closed

AsciiDoc support #3564

bkmgit opened this issue Dec 12, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@bkmgit
Copy link

bkmgit commented Dec 12, 2022

Is your feature request related to a problem? Please describe.
It would be nice if asciidoc[https://asciidoc.org/] could be rendered in addition to Markdown

Describe the solution you'd like
If it would be considered, could make a pull request to support rendering using Asciidoctor.js

Describe alternatives you've considered
Not very many other javascript AsciiDoc renderers, examples of other renderers and online editors available at

Additional context
Happy to work on implementation.

@bkmgit bkmgit added the enhancement New feature or request label Dec 12, 2022
@mejo-
Copy link
Member

mejo- commented Dec 12, 2022

Dear @bkmgit, thanks for your feedback. Good news, editing asciidoc as plaintext is already implemented in our development branch and will come with Nextcloud 26: #3535

Do you mean rendering asciidoc as WYSIWYG like we do for markdown?

@SjoerdV
Copy link

SjoerdV commented May 3, 2023

@mejo- I think that is wat @bkmgit was aiming for.

Maybe as a first step it would be nice to have a 'live preview' (ie rendered AsciiDoc) and after that add syntax highlighting and more 'editor/word processor features'.

Ultimately it would be awesome if 'AsciiDoc co-authoring' through any Office Suite Web App integration could be achieved, but that may be a little too ambitious for now.

A javascript implementation for Live Preview that might be integrated into NextCloud already exists here: https://github.com/asciidoctor/asciidoctor.js

@datenangebot
Copy link

@bkmgit Could you please describe your issue in more detail again and consider the changes that were mentioned regarding nextcloud 26?

@bkmgit
Copy link
Author

bkmgit commented Jun 29, 2023

Yes, rendering asciidoc in the same way that markdown is rendered.

@juliusknorr
Copy link
Member

The primary goal of text is to be a WYSIWYG easy to use text editor which uses markdown files for storing. The libraries mentioned would only cover a preview next to the actual content, so this is nothing we have on the roadmap and plan to implement.

However since there is a plain text editing mode it might be feasible to implement a side-by-side preview next to it for AsciiDoc or other formats (#684 #3570). I'd close this for now as we have no plans to implement this on our side, but would certainly be open for a pull request if anyone wants to contribute.

@Hephi2 Hephi2 added enhancement New feature or request and removed enhancement New feature or request needs info needs triage: philipp labels Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants