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

How to get rid of bullet points? #371

Open
MarisKay opened this issue Jun 16, 2022 · 8 comments
Open

How to get rid of bullet points? #371

MarisKay opened this issue Jun 16, 2022 · 8 comments
Labels

Comments

@MarisKay
Copy link

Hello, i was not able to find a way how to disallow all kinds of bullet points etc. I am looking for a way to get pure paragraphs with linkify enabled. Nothing more. But it turns out there's lots of goodies that sneak out one or another way when user enters some kind of character combination or like in bullet example simple minuses with an offset and line of text. Even Demo does not show any way to remove bullet points. Pls advise! Thank you!

@hawkeye64
Copy link
Member

I am not entirely sure what you mean. If you start a line with a dash, it will be turned into a bullet point. That is basic markdown from the spec. Am I misunderstanding what it is that you want to accomplish?

@MarisKay
Copy link
Author

MarisKay commented Jun 20, 2022

Hey there, thanks for taking time to answer. What I mean is that i would love to have more control over which elements of markdown to allow and which dont. For example right now in my case i would be super glad to use only linkify, paragraphs and nothing else. In other project the set of allowed elements could be different. Depending on what project needs. Right now there is no way i can have ANY control over this :/

@MarisKay
Copy link
Author

Hey there, any progress towards this customization? Thanks

@nucle
Copy link

nucle commented Oct 15, 2022

Hi,

did u try the properties?

image

When something is missing could add it.

BR,
nucle

@MarisKay
Copy link
Author

MarisKay commented Oct 18, 2022

Hey Nucle, thanks for chiming in! Yes, i played with the properties. In my case i was not able to fully achieve pure text + linkifying detected urls. Somehow always something sneaks in when user adds content to my site that ruins the clean look.

How would you set the properties to allow only :

  1. Pure unformated text with linebreaks.
  2. All URLs automatically converted to clickable links.
  3. nothing else, no H tags, no text sizes, bolds, styles etc.. nothing.

Also, about links - would be great to have an option to display only domain name instead of having the whole long link presented to the user with all the url parameters like ?something=0293r034&blabla=510923 etc. The end user doesn't have to know all the parameters etc., that's a tech stuff, not usable when you read a post in my case. That makes it unreadable and is not helping in any way. At the same time - it is better than simply placing a word LINK.. since end user has to know at least to what site the link is going.

Please advise,
Thank you!

@nucle nucle added the Qv2 label Oct 19, 2022
@nucle
Copy link

nucle commented Oct 19, 2022

Hi,
at the end of the day i can take a look.

BR

@nucle
Copy link

nucle commented Oct 22, 2022

@MarisKay

Do u mean when u edit the the markdown or when u see the parsed content?

Parsed content

[MyHomepage](https://github.com/quasarframework/quasar?something=0293r034&blabla=510923)

Will be displayed as:
image

Plain content

BR,
nucle

@MarisKay
Copy link
Author

@nucle

yes, i know there's myhomepage syntax, but problem here is that my average regular user is a non tech person 60+ so expecting them to start using urls syntax like myhomepage would be way too optimistic scenario. At best they can copy paste full url.

And then there are those 5% of users who manage to sneak some html formating in, not sure how and what they write but at the end when i am outputting the content - in these cases formating jumps out of the whole context.

That's why i wondered whether it would be possible to add the customization so it would only allow linkifying and simple text with linebreaks, nothing more. As i understand, i can't achieve this config by twekaking current markdown's settings?

Coding my own solution and stuff like that is way too early for me so not even considering that as an option. I am in my first project right now with quasar js, so definitely not a pro here. Before i was doing purely php mysql.

Thanks

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

No branches or pull requests

3 participants