Html-jquery How does PHP implement the function of Markdown picture display in SF?

Source: Internet
Author: User
Keywords Jquery php html
I have a feature like this, when the user uploads the image file, it will be changed to the markdown format address, similar to

![](http://xxx.xxx.com/1.jpg)

I think this way of showing is too bloated and not very good-looking, but also exposes some unattractive directories

I found SF is similar to

![]![图片描述][1]  [1]: /img/bVuIwN

I don't like it so much, but it's a great feature.
The effect I want most is

![](10021555355)// 括号内一串特定的字符

Then I manipulate the DOM through Jquey? Or the other way to achieve this on the right to see the effect of the picture. How do you think it's done?

Reply content:

I have a feature like this, when the user uploads the image file, it will be changed to the markdown format address, similar to

![](http://xxx.xxx.com/1.jpg)

I think this way of showing is too bloated and not very good-looking, but also exposes some unattractive directories

I found SF is similar to

![]![图片描述][1]  [1]: /img/bVuIwN

I don't like it so much, but it's a great feature.
The effect I want most is

![](10021555355)// 括号内一串特定的字符

Then I manipulate the DOM through Jquey? Or the other way to achieve this on the right to see the effect of the picture. How do you think it's done?

The directory string should be encrypted, submitted to the background and then decrypted to get the picture path back to the front

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.