Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mardown conversion with Pandoc Lua custom writer #23

Closed
32 of 36 tasks
Omikhleia opened this issue Jun 7, 2022 · 3 comments
Closed
32 of 36 tasks

Mardown conversion with Pandoc Lua custom writer #23

Omikhleia opened this issue Jun 7, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@Omikhleia
Copy link
Owner

Omikhleia commented Jun 7, 2022

  • Sectioning (numbered/unnumbered)
  • Basic typesetting
    • Paragraphs
    • Italic, bold, monospace (a.k.a. code)
    • Unicode (check)
    • Smart sequences (Pandoc's task, so just a check)
    • SILE special character escaping
    • Forced line-breaks
  • Strike-through
  • Underline
  • Enumerations, bullet lists (all kinds)
  • Task list ("GitHub-flavor" checkboxes)
  • Definition lists
  • Block quotes
  • Line blocks
  • Horizontal rules
  • Links and footnotes
  • Languages
  • Images
    • Non-SVG images
    • SVG images
  • Tables
  • Raw blocks
  • Code blocks
    • Basic support
    • Syntax highlighting
  • Math
  • Custom styles
  • Bibliography citations (minimalist)
  • Metadata
    • Basic options (papersize, lang, dir)
    • PDF metadata (author, subject, title, keywords)
    • class
    • fonts (main family and fallbacks, size)
  • Table of contents (minimalist). Also list of figures/tables? See templates.
  • Pandoc template (related to the previous item) so that CLI options (-s, --toc etc.) can be supported.
@Omikhleia Omikhleia added enhancement New feature or request help wanted Extra attention is needed labels Jun 7, 2022
@Omikhleia Omikhleia removed the help wanted Extra attention is needed label Jun 19, 2022
@Omikhleia
Copy link
Owner Author

While I may proceed further on that route, also note my efforts on the "native converter" route: sile-typesetter/sile#1481

In the "sample document" illustrating this "Pandoc custom writer" route, I wrote:

I cannot even imagine the efforts that would be required to fix the existing lunamark-based attempt and
ensure it is good at supporting all of the rich Pandoc-flavor of Markdown…

Needless to say, one should never say never 🤡

@Omikhleia
Copy link
Owner Author

The above-mentioned effort on a "native converter" ends up being a 3rd-party package (with additional goodies): https://github.com/Omikhleia/markdown.sile

@Omikhleia
Copy link
Owner Author

The above-mentioned effort on a "native converter" ends up being a 3rd-party package (with additional goodies): https://github.com/Omikhleia/markdown.sile

As of the initial issue here, Pandoc has deprecated the "Classic" API for custom Lua writers - So I don't think there's any point keeping the issue opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant