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

Export Asset to Ray Peat Forum Format #58

Open
marcuswhybrow opened this issue Apr 22, 2024 · 0 comments
Open

Export Asset to Ray Peat Forum Format #58

marcuswhybrow opened this issue Apr 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@marcuswhybrow
Copy link
Owner

  • When I complete a transcript I post a copy in raypeatforum.com
  • I just copy an asset's raw markdown into the "New Thread" input form.
  • This works well enough, but has several pit falls
    1. [[Mention]] syntax is copied raw, ugly, verbose, & confusing.
    2. URLs (usually within a mention) are often visually replaced with the URL's HTML title.
    3. Bold, italic, and other markdown formatting is left as raw characters.

Proposal

  • Build a new command: Ray Peat Rodeo asset to Ray Peat Forum converter
  • I believe Ray Peat Forum is a forum tech called xenForo
    • Deduced from "Paid Registrations by AddonFlare - Premium XF2 Addons" in forum footer.
  • I believe xenForo forums use Bulletin Board Code format.
  • Therefore, I could parse an asset using my existing markdown parser and extensions.

New Render Code?

  • Perhapse (is this possible) I could just replace the "render" code for each extension to target BB code.

HTML to BB Code?

  • Or perhaps convert to HTML as normal, then convert from HTML to BB code?
    • However, much HTML output would be unreproducable in BB code (i.e. mention popups)

New Transformer?

  • Use a existing markdown parser and extensions, but add a "transformer" to change the rendering in small ad-hoc ways.
@marcuswhybrow marcuswhybrow added the enhancement New feature or request label Apr 22, 2024
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