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

No bullets in tag wiki markdown #1368

Closed
CodeMouse92 opened this issue Dec 19, 2018 · 2 comments
Closed

No bullets in tag wiki markdown #1368

CodeMouse92 opened this issue Dec 19, 2018 · 2 comments
Labels
bug always open for contribution

Comments

@CodeMouse92
Copy link

Markdown bulleted lists (with a * at the start of each line) do not render in the tag wiki sections.

For example, this is the Markdown for the #cpp tag...

C++ is a compiled programming language developed by Bjarne Stroustrup in 1985. It offers features of imperative, object-oriented, and generic programming.

The current language standard is C++17.

## Documentation

* [cppreference.com](https://cppreference.com/)
* [CPlusPlus.com](http://cplusplus.com/)

## Compilers

* [Clang/LLVM](https://clang.llvm.org/)
* [GCC](https://gcc.gnu.org/)
* [Microsoft Visual C++](https://docs.microsoft.com/en-us/cpp/)

[Complete list...](http://www.stroustrup.com/compilers.html)

The output, however, does not put each bulleted item on a new line, nor render the bullets themselves. (See https://dev.to/t/cpp)

@pkfrank pkfrank added bug always open for contribution and removed triage labels Dec 20, 2018
@pkfrank
Copy link
Contributor

pkfrank commented Dec 20, 2018

Thanks for the issue, and for getting the #cpp tag sidebar looking so good.

@Link2Twenty
Copy link
Contributor

Link2Twenty commented Dec 21, 2018

It's this section that prevents the bullets from appearing

https://github.com/thepracticaldev/dev.to/blob/fbdd80d5fc3734fc726707294940e20698728c31/app/assets/stylesheets/articles.scss#L1207-L1218

specifically L1208 and L1214

Changing it to this

ul{ 
   list-style-type: none; 
   padding-left:10px; 
 } 
 li{ 
   font-size:1em; 
   line-height:1.32em; 
   &::before { 
     content: "• ";
     color: currentColor;
     vertical-align: -2px;
     font-size:1.2em; 
   } 
 } 

Would result in the following.

image

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

No branches or pull requests

3 participants