silverbullet
silverbullet copied to clipboard
Blank space above tables
When rendering a table, a sizable blank space is added on top:
https://github.com/silverbulletmd/silverbullet/assets/731751/84728914-f343-4c3a-afb3-ecb1080dc548
Right, yeah I can replicate this. Not good.
@zefhemel
Can you please try this in one page?
I see the space in such tables:
# Vector & Linked List Operations
| Data Structure | Method | Time Complexity | Space Complexity | Description |
|----------------|---------------|-----------------|------------------|---------------------------------------------------------------|
| `Vec<T>` | `new()` | O(1) | O(1) | Creates a new empty vector. |
| | `push(value)` | Amortized O(1) | O(1) | Adds an element to the end of the vector. |
| | `pop()` | O(1) | O(1) | Removes the last element from the vector and returns it. |
| | `get(index)` | O(1) | O(1) | Returns a reference to the element at the specified index. |
| Data Structure | Method | Time Complexity | Space Complexity | Description |
|-------------------|--------------------|---------------------|---------------------|---------------------------------------------------------------|
| `VecDeque<T>` | `new()` | O(1) | O(1) | Creates a new empty double-ended queue. |
| | `push_front(value)`| Amortized O(1) | O(1) | Inserts an element at the front of the deque. |
| | `push_back(value)` | Amortized O(1) | O(1) | Inserts an element at the back of the deque. |
| | `pop_front()` | O(1) | O(1) | Removes and returns the first element of the deque. |
| | `pop_back()` | O(1) | O(1) | Removes and returns the last element of the deque. |
| `LinkedList<T>` | `new()` | O(1) | O(1) | Creates a new empty linked list. |
| | `push_front(value)`| O(1) | O(1) | Inserts an element at the beginning of the list. |
| | `push_back(value)` | O(1) | O(1) | Inserts an element at the end of the list. |
| | `pop_front()` | O(1) | O(1) | Removes and returns the first element of the list. |
| | `pop_back()` | O(1) | O(1) | Removes and returns the last element of the list. |
Thanks
+1
+1, i was able to solve this by removing all extra spaces. Seems that having extra spaces in the markdown table for visual spacing causes the rendered table to move further down