obsidian-importer icon indicating copy to clipboard operation
obsidian-importer copied to clipboard

Tables in Onenote break due to shaded rows

Open ppreshant opened this issue 10 months ago • 2 comments

I notice that my convention of shading the top row the indicate header breaks the importer when generating a markdown table. The shade becomes a ==highlighting== with the == but the rest of the table breaks because of this

Example: Source in OneNote-

Image

Converted file

For TSS comp cells;

  • Need 5 ml for 50 ml cells

| | ==Reagent== ==50 ml== ==10 ml====

|PEG 3350|5 g|1 g|==

|1M MgCl2|1.5 ml|300 ul|==

|LB|50 ml|10 ml|==Filter sterilize== |DMSO|2.5 ml|500 ul|Add later*|

*Might damage the filter membrane!

From <https://openwetware.org/wiki/TSS>

ppreshant avatar Jan 27 '25 10:01 ppreshant

I encountered the same. removing the shading (cell colors) the table is possible to import without any trouble.

Obsidian Version: v1.8.9

dandygig avatar Apr 15 '25 05:04 dandygig

Wonderful! Thank you for confirming this behavior.

The issue I have is that I have hundreds of tables in multiple pages of the onenote notebook I'm trying to convert for future preservation.

Would you or anyone happen to know a plug-in in onenote that can remove the shading in bulk?

On Tue, Apr 15, 2025 at 12:51 AM dandygig @.***> wrote:

I encountered the same. removing the shading (cell colors) the table is possible to import without any trouble.

— Reply to this email directly, view it on GitHub https://github.com/obsidianmd/obsidian-importer/issues/353#issuecomment-2803885490, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRLCH3I4YKGQBCOIEW6DDD2ZSM6LAVCNFSM6AAAAABV5V7JIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMBTHA4DKNBZGA . You are receiving this because you authored the thread.Message ID: @.***> dandygig left a comment (obsidianmd/obsidian-importer#353) https://github.com/obsidianmd/obsidian-importer/issues/353#issuecomment-2803885490

I encountered the same. removing the shading (cell colors) the table is possible to import without any trouble.

— Reply to this email directly, view it on GitHub https://github.com/obsidianmd/obsidian-importer/issues/353#issuecomment-2803885490, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRLCH3I4YKGQBCOIEW6DDD2ZSM6LAVCNFSM6AAAAABV5V7JIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMBTHA4DKNBZGA . You are receiving this because you authored the thread.Message ID: @.***>

ppreshant avatar Apr 15 '25 22:04 ppreshant

Thank you for pointing this out. It should be fixed in the next release.

You will still notice a blank row at the top of the table though because markdown tables are required to have headers and OneNote doesn't provide a

row to put there unfortunately.

tgrosinger avatar May 09 '25 22:05 tgrosinger