KosmosisDire / obsidian-webpage-export

Export html from single files, canvas pages, or whole vaults. Direct access to the exported HTML files allows you to publish your digital garden anywhere. Focuses on flexibility, features, and style parity.
https://docs.obsidianweb.net/
MIT License
879 stars 75 forks source link

[Bug] [1.8.01]: Seems like it doesn't support sheet code from Sheets Extended #514

Open GhostShadow0316 opened 2 months ago

GhostShadow0316 commented 2 months ago

What happened?

I created a table in sheet code block like this Obsidian_oY3DClCFHg in Obsidian is rendered fine image but the export look like this image

Reproduction

  1. install Sheets Extended
  2. paste the following code into a code block with language sheet
    | 主層 |  <  | 電子數  |
    |:----:|:---:|:-------:|
    |  K   |  1  |    2    |
    |  L   |  2  |    8    |
    |  M   |  3  |   18    |
    |  N   |  4  |   32    |
    |  O   |  5  | 18 / 32 |
    |  P   |  6  |   18    |
    |  Q   |  7  |    8    |
  3. export it

Last Working Version

No response

Version

1.8.01 (but also tried 1.9.0-2b)

Operating System

Windows

Obsidian Version

1.6.7

Which browsers can you reproduce this in?

No response

Relevant log output

Log:
[WARNING]   Creating an RSS feed requires a site url to be set in the export settings.
[WARNING]   No existing search index found. All files will be exported.
[INFO]  Replacing "1-1 電的特性與應用" header because it was very similar to the file's title.
[INFO]  Replacing "1-2 電的單位" header because it was very similar to the file's title.
[INFO]  Replacing "1-3 電能" header because it was very similar to the file's title.
[INFO]  No old files to delete
[INFO]  Closing render window
[WARNING]   Creating an RSS feed requires a site url to be set in the export settings.
[WARNING]   No existing search index found. All files will be exported.
[INFO]  Replacing "1-1 電的特性與應用" header because it was very similar to the file's title.
[INFO]  Replacing "1-2 電的單位" header because it was very similar to the file's title.
[INFO]  Replacing "1-3 電能" header because it was very similar to the file's title.
[INFO]  No old files to delete
[INFO]  Closing render window

Settings:
    settingsVersion --------- 1.8.01
    makeOfflineCompatible     false
    inlineAssets ------------ true
    includePluginCSS          1 plugins included
    includeSvelteCSS -------- true
    titleProperty             title
    customHeadContentPath --- D:\\\\GhostShadow\\Obsidian\\Electronic\\head.html
    faviconPath              
    documentWidth ----------- 40em
    sidebarWidth              20em
    minOutlineCollapse ------ 2
    startOutlineCollapsed     false
    allowFoldingHeadings ---- true
    allowFoldingLists         true
    allowResizingSidebars --- true
    logLevel                  warning
    minifyHTML -------------- true
    makeNamesWebStyle         false
    onlyExportModified ------ false
    deleteOldFiles            true
    addThemeToggle ---------- true
    addOutline                true
    addFileNav -------------- true
    addSearchBar              false
    addGraphView ------------ false
    addTitle                  true
    addRSSFeed -------------- true
    siteURL                  
    authorName --------------
    vaultTitle                基本電學
    exportPreset ------------ documents
    openAfterExport           false
    graphAttractionForce ---- 1
    graphLinkLength           10
    graphRepulsionForce ----- 150
    graphCentralForce         3
    graphEdgePruning -------- 100
    graphMinNodeSize          3
    graphMaxNodeSize -------- 7
    showDefaultTreeIcons      false
    emojiStyle -------------- Native
    defaultFileIcon           lucide//file
    defaultFolderIcon ------- lucide//folder
    defaultMediaIcon          lucide//file-image
    exportPath -------------- D:\\\\GhostShadow\\Obsidian\\Electronic\\html
    filesToExport             3

Enabled Plugins:
    Code Editor Shortcuts
    Media Extended
    Omnisearch
    Fast Text Color
    Task Collector (TC)
    Paste URL into selection
    Mousewheel Image zoom
    Markdown Attributes
    Webpage HTML Export
    Advanced Tables
    Extended Syntax
    Sheets Extended

Additional Info

image

github-actions[bot] commented 2 months ago

Thank you for reporting this issue. It is possible this issue has already been solved in the latest beta version. Please try updating to the latest beta version of the plugin (1.9.0-2b) and see if the issue persists.

You can find the latest beta release here: https://github.com/KosmosisDire/obsidian-webpage-export/releases/tag/1.9.0-2b. Instructions for installing are located in the readme.

If the problem continues after updating, please let us know, and we'll investigate further.

KosmosisDire commented 2 months ago

I have tested this on the internal developement branch and it works, so I can say that at least in the next release this will be fixes

Nydid commented 1 month ago

I can confirm, the Sheets Extended plugin does work on the latest Beta branch. Although, I had to stop using it due to the lack of Inline Dataview support.