decaf-dev / obsidian-dataloom

Weave together data from diverse sources and display them in different views. Inspired by Excel spreadsheets and Notion.so.
https://dataloom.xyz/
MIT License
916 stars 34 forks source link

[BUG] Code not render normally #204

Closed Mara-Li closed 2 years ago

Mara-Li commented 2 years ago

Describe the bug The backtick code format doesn't work normally : they are converted to <code>text</code> and not render.

Bug occurs both in Live preview and reading view

To Reproduce Table example :

| Commande            | Description                               |
| ------------------- | ----------------------------------------- |
| `git status`        | Fichier modifié depuis le dernier pull    |
| `git revert HEAD`   | Restaurer le précédent commit             |
| `git merge --abort` | Annule merge et restaure l'état précédent |
|                     |                                           |

Just copy/paste this table in any file.

Expected behavior The normal rendering of the table as without the plugin : image

Screenshots image image

**Debug Info**
SYSTEM INFO:
    Obsidian version: v0.15.5
    Installer version: v0.14.15
    Operating system: Windows 10 Education 10.0.22622 //false I have Windows 11 Education
    Login status: logged in
    Catalyst license: insider
    Insider build toggle: on
    Live preview: on
    Legacy editor: off
    Base theme: light
    Community theme: BRAT-ceciliamay----obsidianmd-theme-primary
    Snippets enabled: 31
    Safe mode: off
    Plugins installed: 84
    Plugins enabled: 76
        1: Style Settings
        2: Supercharged Links
        3: Format Hotkeys
        4: Auto Card Link
        5: File Hider
        6: Advanced Tables
        7: Templater
        8: Collapse All
        9: Banners
        10: Clear Unused Images
        11: Copy as HTML
        12: Customizable Menu
        13: Customizable Page Header and Title Bar
        14: Customizable Sidebar
        15: Footnote Shortcut
        16: Hider
        17: Homepage
        18: Hotkey Helper
        19: Stack Overflow Answers
        20: Quick Explorer
        21: Plugin Changelogs
        22: Obsidian42 - BRAT
        23: Markdown Table Editor
        24: List Callouts
        25: Icon Shortcodes
        26: Hover Editor
        27: AidenLx's Folder Note
        28: Folder Note Core
        29: Link Favicons
        30: Bartender
        31: Metadata Menu
        32: Dataview
        33: Image Toolkit
        34: Folder Focus Mode
        35: CodeMirror Options
        36: Icon Folder
        37: Github Publisher
        38: Simple Embeds
        39: Editor Syntax Highlight
        40: Markdown Attributes
        41: MetaEdit
        42: MySnippets
        43: Another Quick Switcher
        44: Auto Link Title
        45: CM6 Attributees
        46: Contextual Typography
        47: Dictionary
        48: Doubleshift
        49: Obsidian Enhancing Export
        50: Kanban
        51: LanguageTool Integration
        52: Obsidian Link Converter
        53: Linter
        54: Metacopy
        55: Pandoc Reference List
        56: Paste image rename
        57: Sortable
        58: Task Collector (TC)
        59: Force note view mode
        60: Omnisearch
        61: Settings Search
        62: Tag Wrangler
        63: Waypoint
        64: AidenLx's Folder Note - folderv component
        65: Better footnote
        66: Natural Language Dates
        67: Excalidraw
        68: Local File Interface
        69: Meta Bind Plugin
        70: Smarter Markdown Hotkeys
        71: Snippet Downloader
        72: Tidy Footnotes
        73: Wrap with shortcuts
        74: Zotero Integration
        75: QuickAdd
        76: Notion-Like Tables

Using Mobile App?

hustrjh commented 2 years ago

Actually, notion-like-table plugin also can't render tables that have links like ![name](link) correctly.

I suppose that plugin could offer a kind of type which doesn't render the content. You can name the type as original or something. It's really not convenient for users to exclude every single table that can't render normally one by one.

At last, thank the author for the excellent work.

decaf-dev commented 2 years ago

Hi @Mara-Li thank you for this issue. I will probably need to review how I handle markdown in the table. I have a few other things i need to place as priority first though.

hustrjh commented 2 years ago

Hi @Mara-Li thank you for this issue. I will probably need to review how I handle markdown in the table. I have a few other things i need to place as priority first though.

I totally understand and this issue is not that urgent to me. Handle your own affair first.

decaf-dev commented 2 years ago

@hustrjh I plan on updating the system for handling markdown soon. Stay tuned. :)

hustrjh commented 2 years ago

@trey-wallis Thanks for your continuous effort!

decaf-dev commented 2 years ago

@hustrjh @Lisandra-dev Fixed in v5.0.0.