IT

reStructuredText 도구 지원

lottoking 2020. 7. 3. 18:06
반응형

reStructuredText 도구 지원


나는 reStructuredText의 열렬한 팬 이지만 그것을 지원하는 도구는 인터넷 전체에 흩어져 있습니다. 공식 도구 목록이 불완전 및 / 또는 구식이며, 전용 권한을 커밋을 통해 업데이트 할 수 있습니다. 한동안 거기에서 포괄적 인 목록이었다 위키 백과 reStructuredText 페이지 , 그러나 이것은 분명히 " 웹 콘텐츠의 유명 함 가이드 라인을 충족하지 않았다 "및 제거 .

질문 형식으로 작성하십시오. 텍스트 편집기, 위키 소프트웨어, reStructuredText 등의 변환기와 같은 reStructuredText로 작업 할 때 어떤 도구 지원을 찾을 수 있습니까?


이전 버전의 Wikipedia 페이지 에서 목록을 구제하고 확장 합니다 .

선적 서류 비치

구현

reStructuredText의 참조 구현은 Python으로 작성되었지만 다른 언어의 reStructuredText 구문 분석기도 있습니다.

파이썬-Docutils

reStructuredText의 주요 배포본은 Python Docutils 패키지입니다. 몇 가지 변환 도구가 포함되어 있습니다.

  • rst2html-reStructuredText에서 HTML로
  • rst2xml-reStructuredText에서 XML로
  • rst2latex-reStructuredText에서 LaTeX로
  • rst2odt-reStructuredText에서 ODF Text (워드 프로세서) 문서로.
  • rst2s5-reStructuredText에서 간단한 표준 기반 슬라이드 쇼 시스템 인 S5 까지
  • rst2man-reStructuredText에서 Man 페이지로

하스켈-판독

Pandoc 은 하나의 마크 업 형식에서 다른 마크 업 형식으로 변환하기위한 Haskell 라이브러리 이며이 라이브러리를 사용하는 명령 줄 도구입니다. 마크 다운 및 reStructuredText, HTML 및 LaTeX의 하위 세트를 읽을 수 있으며 Markdown, reStructuredText, HTML, LaTeX, ConTeXt, PDF, RTF, DocBook XML, OpenDocument XML, ODT, GNU Texinfo, MediaWiki 마크 업, groff man을 작성할 수 있습니다. 페이지 및 S5 HTML 슬라이드 쇼.

이 라이브러리를 사용하기 위한 Pandoc 온라인 도구 (POT)가 있습니다. 불행히도 reStructuredText 온라인 렌더러 (ROR) 와 비교하면

  • POT은 입력을 더 짧게 자릅니다. POT 사용자는 ROR에 의해 전체적으로 렌더링 될 수있는 청크로 입력을 렌더링해야합니다.
  • POT 출력 (의해 생성 ROR로 표시되는 유용한 에러 메시지 결여 docutils)

자바-JRst

JRst는 Java reStructuredText 파서입니다. 현재 HTML, XHTML, DocBook xdoc 및 PDF를 출력 할 수 있지만 심각한 문제가있는 것 같습니다. 현재 전체 다운로드를 사용하여 PDF 또는 (X) HTML 생성이 작동하지 않으며 (X) HTML의 결과 페이지가 비어 있고 IO에서 PDF 생성에 실패합니다 XSL 파일에 문제가 있습니다 참고 원래 JRst이 웹 사이트에서 제거 된; 포크는 GitHub에 있습니다 .

스칼라-라이카

Laika 는 마크 업 언어를 다른 출력 형식으로 변환하기위한 새로운 라이브러리입니다. 현재 Markdown 및 reStructuredText의 입력을 지원하고 HTML 출력을 생성합니다. 라이브러리는 스칼라로 작성되었지만 Java에서도 사용할 수 있어야합니다.

PHP

C # /. NET

님 / C

님의 컴파일러 명령 기능 rst2htmlrst2texHTML 및 텍 파일을 reStructuredText 파일을 변환. 표준 라이브러리는 reStructuredText 파일을 프로그래밍 방식으로 처리하기 위해 다음 모듈 (컴파일러에서 사용)을 제공합니다.

  • rst -reStructuredText 파서를 구현
  • rstast

    -reStructuredText 파서에 대한 AST를 구현합니다
  • rstgen -reStructuredText에서 HTML / 라텍스 생성기를 구현합니다.

다른 타사 변환기

이러한 도구의 대부분 (전부는 아님)은 Docutils (위 참조)를 기반으로하며 주 배포에서 지원하지 않는 형식으로 변환하거나 변환하지 않습니다.

reStructuredText에서

  • restview-pip설치 가능한 파이썬 패키지에는 docutils실제 렌더링을 수행하는이 필요합니다 . restview사용하기 쉬운 주요 기능은 문서에 변경 사항을 저장할 때 자동으로 다시 렌더링하고 다시 표시한다는 것입니다.restview
    1. 작은 웹 서버를 시작합니다
    2. docutils문서를 HTML로 렌더링하기위한 호출
    3. 장치의 브라우저를 호출하여 출력 HTML을 표시합니다.
  • rst2pdf -reStructuredText에서 PDF로
  • rst2odp -reStructuredText에서 ODF 프리젠 테이션으로
  • rst2beamer -reStructuredText에서 LaTeX beamer Presentation 클래스로
  • Wikir -reStructuredText에서 Google (및 기타) Wiki 형식으로
  • rst2qhc -reStructuredText 파일 모음을 Qt (툴킷) 도움말 파일 및 (선택 사항) Qt 도움말 프로젝트 파일로 변환

텍스트를 다시 구조화하려면

  • xml2rst 는 Docutils 내부 XML 표현 (다시)을 reStructuredText로 변환하는 XSLT 스크립트입니다.
  • Pandoc (위 참조)은 Markdown, HTML 및 LaTeX에서 reStructuredText로 변환 할 수도 있습니다.
  • db2rst 는 reStructuredText 번역기에 간단하고 제한된 DocBook입니다
  • pod2rst -.pod 파일을 reStructuredText 파일로 변환

확장

일부 프로젝트는 reStructuredText를 기본으로 사용하거나 reStructuredText 도구의 유틸리티를 확장하는 추가 기능을 제공합니다.

스핑크스

The Sphinx documentation generator translates a set of reStructuredText source files into various output formats, automatically producing cross-references, indices etc.

rest2web

rest2web is a simple tool that lets you build your website from a single template (or as many as you want), and keep the contents in reStructuredText.

Pygments

Pygments is a generic syntax highlighter for general use in all kinds of software such as forum systems, Wikis or other applications that need to prettify source code. See Using Pygments in reStructuredText documents.

Free Editors

While any plain text editor is suitable to write reStructuredText documents, some editors have better support than others.

Emacs

The Emacs support via rst-mode comes as part of the Docutils package under /docutils/tools/editors/emacs/rst.el

Vim

The vim-common package for that comes with most GNU/Linux distributions has reStructuredText syntax highlight and indentation support of reStructuredText out of the box:

Jed

There is a rst mode for the Jed programmers editor.

gedit

gedit, the official text editor of the GNOME desktop environment. There is a gedit reStructuredText plugin.

Geany

Geany, a small and lightweight Integrated Development Environment include support for reStructuredText from version 0.12 (October 10, 2007).

Leo

Leo, an outlining editor for programmers, supports reStructuredText via rst-plugin or via "@auto-rst" nodes (it's not well-documented, but @auto-rst nodes allow editing rst files directly, parsing the structure into the Leo outline).

It also provides a way to preview the resulting HTML, in a "viewrendered" pane.

FTE

The FTE Folding Text Editor - a free (licensed under the GNU GPL) text editor for developers. FTE has a mode for reStructuredText support. It provides color highlighting of basic RSTX elements and special menu that provide easy way to insert most popular RSTX elements to a document.

PyK

PyK is a successor of PyEdit and reStInPeace, written in Python with the help of the Qt4 toolkit.

Eclipse

The Eclipse IDE with the ReST Editor plug-in provides support for editing reStructuredText files.

NoTex

NoTex is a browser based (general purpose) text editor, with integrated project management and syntax highlighting. Plus it enables to write books, reports, articles etc. using rST and convert them to LaTex, PDF or HTML. The PDF files are of high publication quality and are produced via Sphinx with the Texlive LaTex suite.

Notepad++

Notepad++ is a general purpose text editor for Windows. It has syntax highlighting for many languages built-in and support for reStructuredText via a user defined language for reStructuredText.

Visual Studio Code

Visual Studio Code is a general purpose text editor for Windows/macOS/Linux. It has syntax highlighting for many languages built-in and supports reStructuredText via an extension from LeXtudio.

Dedicated reStructuredText Editors

Proprietary editors

Sublime Text

Sublime Text is a completely customizable and extensible source code editor available for Windows, OS X, and Linux. Registration is required for long-term use, but all functions are available in the unregistered version, with occasional reminders to purchase a license. Versions 2 and 3 (currently in beta) support reStructuredText syntax highlighting by default, and several plugins are available through the package manager Package Control to provide snippets and code completion, additional syntax highlighting, conversion to/from RST and other formats, and HTML preview in the browser.

BBEdit / TextWrangler

BBEdit (and its free variant TextWrangler) for Mac can syntax-highlight reStructuredText using this codeless language module.

TextMate

TextMate, a proprietary general-purpose GUI text editor for Mac OS X, has a bundle for reStructuredText.

Intype

Intype is a proprietary text editor for Windows, that support reStructuredText out of the box.

E Text Editor

E is a proprietary Text Editor licensed under the "Open Company License". It supports TextMate's bundles, so it should support reStructuredText the same way TextMate does.

PyCharm

PyCharm (and other IntelliJ platform IDEs?) has ReST/Sphinx support (syntax highlighting, autocomplete and preview).instant preview)

Wiki

here are some Wiki programs that support the reStructuredText markup as the native markup syntax, or as an add-on:

MediaWiki

MediaWiki reStructuredText extension allows for reStructuredText markup in MediaWiki surrounded by <rst> and </rst>.

MoinMoin

MoinMoin is an advanced, easy to use and extensible WikiEngine with a large community of users. Said in a few words, it is about collaboration on easily editable web pages.

There is a reStructuredText Parser for MoinMoin.

Trac

Trac is an enhanced wiki and issue tracking system for software development projects. There is a reStructuredText Support in Trac.

This Wiki

This Wiki is a Webware for Python Wiki written by Ian Bicking. This wiki uses ReStructuredText for its markup.

rstiki

rstiki is a minimalist single-file personal wiki using reStructuredText syntax (via docutils) inspired by pwyky. It does not support authorship indication, versioning, hierarchy, chrome/framing/templating or styling. It leverages docutils/reStructuredText as the wiki syntax. As such, it's under 200 lines of code, and in a single file. You put it in a directory and it runs.

ikiwiki

Ikiwiki is a wiki compiler. It converts wiki pages into HTML pages suitable for publishing on a website. Ikiwiki stores pages and history in a revision control system such as Subversion or Git. There are many other features, including support for blogging, as well as a large array of plugins. It's reStructuredText plugin, however is somewhat limited and is not recommended as its' main markup language at this time.

Web Services

Sandbox

An Online reStructuredText editor can be used to play with the markup and see the results immediately.

Blogging frameworks

WordPress

WordPreSt reStructuredText plugin for WordPress. (PHP)

Zine

reStructuredText parser plugin for Zine (will become obsolete in version 0.2 when Zine is scheduled to get a native reStructuredText support). Zine is discontinued. (Python)

pelican

Pelican is a static blog generator that supports writing articles in ReST. (Python)

hyde

Hyde is a static website generator that supports ReST. (Python)

Acrylamid

Acrylamid is a static blog generator that supports writing articles in ReST. (Python)

Nikola

Nikola is a Static Site and Blog Generator that supports ReST. (Python)

ipsum genera

Ipsum genera is a static blog generator written in Nim.

Yozuch

Yozuch is a static blog generator written in Python.

More

참고URL : https://stackoverflow.com/questions/2746692/restructuredtext-tool-support

반응형