WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [feature request] initial start line number

[Resolved] [feature request] initial start line number

  • Hannes Vorholz
    Member

    @hannes-vorholz

    is there a option allesraady implementet for an intitioal line number.
    In many case we just want to post line 364-380 out of 1200
    the html-ol-tag supports the start attribute, so an easy implementation may be possible.
    support to change these starting line numbers in Codegroups members would also be nice.

    Thanks for this SUPER PLUGIN.

    Regards
    Hannes

    https://wordpress.org/plugins/enlighter/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andi Dittrich
    Participant

    @andi-dittrich

    Dear Hannes,
    this would be a nice option but it’s difficult to implement. it requires some “deep” modifications of the EnlighterJS Core which are projected in version 2.0
    i will try to add your feature request into the next major release (2.0)

    best reagrds, Andi

    Plugin Author Andi Dittrich
    Participant

    @andi-dittrich

    Hi Hannes,
    your feature request is added in verison 2.0.

    Example (Shortcode):

    [js offset="23"]
    window.addEvent('mouseover', function(){});
    [/js]

    Example (HTML)

    <pre data-enlighter-language="js" data-enlighter-linenumbers="false" data-enlighter-lineoffset="5">
    ...
    </pre>

    best reagrds, Andi

    Very useful! Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [feature request] initial start line number’ is closed to new replies.