Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Markdown list rendering broken

Open someone13574 opened this issue 2 years ago • 6 comments

The rendering of markdown lists shows numbers on a different line then the text if there is a blank line in front of it.

With blank line (Broken):

image image

Without blank line (Normal):

image image

someone13574 avatar Mar 05 '23 00:03 someone13574

@someone13574 can you post the raw markdown? it helps us reproduce the problem and fix it.

AbdBarho avatar Mar 05 '23 06:03 AbdBarho

Found one

https://open-assistant.io/messages/763cb477-4c43-40ef-bfbc-722ba79fb8a5

Choosing the right university programs to apply to can be a daunting task, but there are several things you can consider to help you make an informed decision:

1. Your academic and career goals: Consider the academic programs and majors offered by the universities you're interested in, and how they align with your academic and career goals. Look for universities that have strong programs in the fields you're interested in, and that offer opportunities for research, internships, and other experiential learning.

2. Location: Consider the location of the universities you're interested in. Do you prefer a rural, suburban, or urban setting? Would you prefer to attend a university close to home or in a different part of the country or world? Consider the cost of living, transportation, and other factors that may impact your experience.

3. Campus culture: Consider the campus culture and community of the universities you're interested in. Do they have a diverse student body? What kinds of extracurricular activities, clubs, and organizations are available? What is the social scene like? You can often get a sense of a university's culture by visiting campus, attending information sessions or events, or speaking with current students or alumni.

4. Resources and support: Look for universities that offer resources and support that align with your needs and interests. This could include academic support services, mental health and wellness resources, career services, and more.

To improve your chances of being accepted, you can take several steps:

1. Maintain a strong academic record: Focus on achieving good grades and taking challenging courses that demonstrate your academic ability and potential.

2. Get involved: Participate in extracurricular activities that showcase your skills and interests, and demonstrate your commitment and leadership potential.

3. Seek out opportunities for personal growth and development: This could include volunteering, internships, research opportunities, and more. These experiences can demonstrate your passion and dedication, and help you stand out from other applicants.

4. Make a strong application: Take the time to craft a strong application that showcases your strengths, interests, and potential. This could include a well-written personal statement, strong letters of recommendation, and a compelling resume or portfolio.

Remember, choosing the right university programs to apply to can take time and research, but it's important to make an informed decision that aligns with your goals and interests. Good luck with your application process!

AbdBarho avatar Mar 05 '23 08:03 AbdBarho

I can take this on

johnflux avatar Mar 06 '23 00:03 johnflux

Proposed: image

johnflux avatar Mar 06 '23 07:03 johnflux

Compare to the original style of lists, before #1941:

image

johnflux avatar Mar 06 '23 07:03 johnflux

This was caused by the fix in #1941

This might require a bit of co-ordination to fix.

Proposed fix (the first screenshot) is to add to RenderedMarkdown.tsx:

  "li > p": { // When list item has a paragraph, don't put text on a separate line to the number
    display: "inline-block",
  },

But tbh, I don't like this. We could have all sorts of issues arising.

johnflux avatar Mar 06 '23 07:03 johnflux