Code Monkey home page Code Monkey logo

Comments (5)

peterwooley avatar peterwooley commented on July 28, 2024 1

I believe Phil was was referring to an issue where only a single link per paragraph works. I think the regex for REGEXP_LINKURL in beardown/lib/beardown/spans/linkurl.rb is acting greedy, but I'm sure how to fix it.

Here's an example where I have multiple links in a single paragraph that look like this in Bear:

multiple-links-in-bear

But the first link extends all the way to the end of the last link in Miyano:

multiple-links-in-miyano

If you'd like to use my text for testing, here's the markdown:

I started listening and identifying with the stories shared in [This American Life](http://www.thisamericanlife.org/), [The Moth](http://themoth.org/), [Radiolab](http://www.radiolab.org/), and other great story-driven podcasts, which led me to discover [the difference between empathy and sympathy](https://www.youtube.com/watch?v=1Evwgu369Jw) and to begin questioning every moral position I’d ever taken.

Thanks for creating this great tool! I've been writing in Bear for a while now but haven't done the work to get my words online again. Miyano is helping me to do just that.

from miyano.

wuusn avatar wuusn commented on July 28, 2024
  1. Could you show me an example of what you mean that can't have more than one hyperlink per carriage return. I didn't get the point of the word carriage.
  2. There's an issue of the preview itself. You know, preview only has one part of the post. let's say, if we have a table, but the preview only contains the half table, how could we show it? Keep the origin markdown in the preview prevent dealing with the uncompleted elements.

from miyano.

wuusn avatar wuusn commented on July 28, 2024

hi @PhilHansonGH @peterwooley ,

I seems fixed the problem peter mentioned above in the latest version of beardown.

Run gem update and check the version of beardown is up date to 0.1.6.1.
Then try miyano again.

from miyano.

peterwooley avatar peterwooley commented on July 28, 2024

After updating, the markdown links are now properly rendered individually. Thanks, @wuusn!

screen shot 2019-01-15 at 1 58 16 pm

from miyano.

wuusn avatar wuusn commented on July 28, 2024

@peterwooley It's my pleasure. It feels nice to help people like you, you made the issue very clearly, and also give me the feedback. You've made my day! Thanks!! ^ ^

from miyano.

Related Issues (13)

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.