GithubHelp home page GithubHelp logo

Asciidoctor syntax about core HOT 7 CLOSED

c9 avatar c9 commented on July 30, 2024
Asciidoctor syntax

from core.

Comments (7)

javruben avatar javruben commented on July 30, 2024

Did you know you can add this yourself? http://ace.c9.io/#higlighter=&nav=higlighter

from core.

nightwing avatar nightwing commented on July 30, 2024

We already have a highlighter for asciiDoc files, see attached screenshot
asciiDoc

from core.

Fale avatar Fale commented on July 30, 2024

That's true :). Thanks a lot.

I think it should auto-recognise asciidoc files based on the ".adoc" extention.

from core.

Pike avatar Pike commented on July 30, 2024

@javruben the doc still talks about patching modelist. Is there a way to "monkeypatch" that for a c9 plugin?

from core.

nightwing avatar nightwing commented on July 30, 2024

@Fale added it in ajaxorg/ace@5e872cc, (there was no commonly used extension for asciidoc in 2012)

@Pike we can add api like

ace = imports.ace
ace.registerSyntax({
    caption: "MyNewMode",
    aceMode: "path/to/ace/mode" | AceModeObject,
    extensions: "^Filename|ext1|ext2"
})

from core.

Pike avatar Pike commented on July 30, 2024

That'd be great.

from core.

Fale avatar Fale commented on July 30, 2024

Thanks :)

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.