Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Add line numbers to code samples in preview #275

Open
ingosimonis opened this issue Jul 18, 2018 · 0 comments
Open

Add line numbers to code samples in preview #275

ingosimonis opened this issue Jul 18, 2018 · 0 comments

Comments

@ingosimonis
Copy link

Description

Hi, I am often using code samples, using the notation shown below with the linenums-flat set.

Using coderay, I get line numbers for these parts in the HTML when compiling the asciidoc, but I cannot see any line numbers for the code in the Atom-preview window. Is there anything I can do?

Thanks a lot,
Ingo

  • Atom version: 1.28.2
  • OS: MacOS 10.13.6
  • asciidoc-preview version: 2.12.1
  • language-asciidoc version: 1.11.0

Syntax example

[source,java,linenums]
----
class MyClass {
}
----
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant