Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Custom extensions for Pygments.

NotificationsYou must be signed in to change notification settings

deepsourcelabs/pygments-html-ext

Repository files navigation

Example usage:

pygmentize -f pygments-html-ext/formatters/html_slice.py:HtmlSliceFormatter -x -O linenos=table,hl_lines="28 29 30",begin_line=8,end_line=32 -o output.html sample_python_script.py

Where:

  • begin_line andend_line define the line range to extract from the entire file.
  • hl_lines is a space-separated string of line numbers that need to be highlighted.

About

Custom extensions for Pygments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp