Git Product home page Git Product logo

Comments (9)

hynek avatar hynek commented on July 19, 2024 1

Yeah I didn't feel attacked specifically, I'm just seeing mentions of issue templates (I had none) etc. :)

from myst-parser.

welcome avatar welcome commented on July 19, 2024

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉

from myst-parser.

chrisjsewell avatar chrisjsewell commented on July 19, 2024

Heya, see #831, I agree that the attribution should be parsed as MyST

would give me ...

I'm not sure about acheiving this though;
I agree that this looks to be a better HTML representation (like https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote),
but I think it would require changes to the upstream HTML renderer; https://github.com/live-clones/docutils/blob/master/docutils/docutils/writers/_html_base.py

from myst-parser.

hynek avatar hynek commented on July 19, 2024

BTW I'm sorry if I've accidentally circumvented some kind of community process as the message of the bot insinuates. I just clicked "new issue" in the docs and search the issues for "attribution" (and found nothing).

from myst-parser.

chrisjsewell avatar chrisjsewell commented on July 19, 2024

as the message of the bot insinuates

Oh no, this just gets fired for every first-time contributor 😄

from myst-parser.

chrisjsewell avatar chrisjsewell commented on July 19, 2024

@hynek would #831 be sufficient for you at this time?
I could potentially add something like a cite attribute that is "stored" on the block_quote node:

{attribution="Hyrum Wright", cite="https://www.hyrumslaw.com/"}
> With a sufficient number

But, as I mention above, I don't think this would currently propagate to the actual output HTML

from myst-parser.

hynek avatar hynek commented on July 19, 2024

Would #831 mean I can do:

{attribution="Hyrum Wright, [Hyrum’s Law](https://www.hyrumslaw.com>)"}
> With a sufficient number

And get:

<blockquote>
  <p>With a sufficient number…</p>

  <cite>— Hyrum Wright, <a href="https://www.hyrumslaw.com">Hyrum’s Law</a></cite>
</blockquote>

?

I don't care that much about the cite attribute because I don't think anyone is actually using it? I primarily want to be able to have richer citations in the cite tag. :)

from myst-parser.

chrisjsewell avatar chrisjsewell commented on July 19, 2024

Would #831 mean I can do

yep 👍 see the updated example in https://myst-parser--831.org.readthedocs.build/en/831/syntax/optional.html#attributes

from myst-parser.

hynek avatar hynek commented on July 19, 2024

Well, perfect!

from myst-parser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.