dendronhq / dendron

The personal knowledge management (PKM) tool that grows as you do!
https://wiki.dendron.so
Apache License 2.0
6.75k stars 258 forks source link

Code Blocks in Table Cells #3574

Open Natedude opened 2 years ago

Natedude commented 2 years ago

Please select if your request is either something new or an enhancement

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

Is your feature request related to a problem? Please describe

I have loved created cheat sheets in dendron and it totally gets my off track when I just want to save more than inline code.

A clear and concise description of what the problem is. E.g. I'm always frustrated when [...] In the cheat sheets, there are lots of tables and I maybe I just am not skilled with them, but I can never get it to work.

Describe the solution you'd like

I guess I imagine it as part of an extension like the table generators. I'll have a table Im making and pasting in code blocks

A clear and concise description of what you want to happen. I want to somehow be able to paste multi-lines but with it bounded by the | AKA "|" vertical bar. like Maybe I could use underscores to indicate the bottom of the cell.

Describe alternatives you've considered

I guess, for example SASS and CSS. I could have the CSS versions of things all over on the left and then the SASS way of doing it all on the right, or below.

A clear and concise description of any alternative solutions or features you've considered. Actually learn the stuff lol. ?

Additional context

Add any other context or screenshots about the feature request here.

Harshita-mindfire commented 2 years ago

The Github flavored Markdown supports adding HTML tables in Markdown. There can be 2 possible workarounds for adding multiline codeblocks

CSS SCCSS
body{
color: #ffffff;
font:
$ubuntu-font: 'Ubuntu',
font-size: xx-large
padding: 2rem;}
Scss example code here