This is a plugin for Obsidian (https://obsidian.md). Can open document with `.html` and `.htm` file extensions.

Overview

Obsidian HTML reader Plugin

This is a plugin for Obsidian (https://obsidian.md). Can open document with .html and .htm file extensions.

How to use

  1. Put .html or .htm files to any vault folder
  2. Click any HTML or HTM item to open it
  3. Reading

Manually installing the plugin

  1. Copy the main.js and manifest.json files to your vault <path>/<to>/<VaultFolder>/.obsidian/plugins/obsidian-html-plugin/.
  2. Reload Obsidian.
  3. Head to "Settings" → "third-party plugins", make sure safe mode is off and enable this plugin from there.
You might also like...

nest연습용 (w. https://github.com/seuiggi, https://github.com/okysky1121)

A progressive Node.js framework for building efficient and scalable server-side applications. Description Nest framework TypeScript starter repository

Oct 5, 2022

Obsidian plugin: Implicitly add an alias matching the first heading in a document.

Alias from heading Aliases in Obsidian make it convenient to provide display names to document links. However, there are a few pain points: Aliases ar

Dec 17, 2022

A quickstart AWS Lambda function code generator. Downloads a template function code file, test harness file, sample SAM deffiniation and appropriate file structure.

Welcome to function-stencil 👋 A quickstart AWS Lambda function code generator. Downloads a template function code file, test harness file, sample SAM

Jun 20, 2022

A jquery plugin that allows an html page to be converted and/or downloaded into a Microsoft Word Document with an emphasis on performance

googoose A jquery plugin that allows an html page to be converted and/or downloaded into a Microsoft Word Document with an emphasis on performance Abo

Jan 3, 2023

Serve file server with single zip file as file system in Deno.

zipland Serve file server with one-single zip file in Deno. Support zip just zip32 with deflated or uncompressed serving plaintext deflate Examples Yo

Nov 2, 2022

Feel free to create new file, don't hesitate to pull your code, the most important thing is that the file name here must match your nickname so that file does not conflict with other people.

Hacktoberfest Indonesia Apa Itu Hacktoberfest ? Hacktoberfest adalah acara tahunan yang bertujuan untuk mendorong berkontribusi kedalam ekosistem open

Dec 15, 2022

This Photoshop script exports all top-level layers and groups to cropped PNG and JPEG files and creates a file usable in Tumult Hype 4 based on your Photoshop document.

This Photoshop script exports all top-level layers and groups to cropped PNG and JPEG files and creates a file usable in Tumult Hype 4 based on your Photoshop document.

Export To Hype (Photoshop Edition) This Photoshop script exports all top-level layers and groups to cropped PNG and JPEG files and creates a file usab

Nov 9, 2022

Reference for How to Write an Open Source JavaScript Library - https://egghead.io/series/how-to-write-an-open-source-javascript-library

Reference for How to Write an Open Source JavaScript Library The purpose of this document is to serve as a reference for: How to Write an Open Source

Dec 24, 2022
Comments
  • How to correctly parse the contents of the HTML files generated by SingleFileZ

    How to correctly parse the contents of the HTML files generated by SingleFileZ

        > I have some questions:
    
    1. Is the "SingleFileZ" web extension necessary? I opened a xxx.zip.html in Opera, it shows the same message. (NOTE: the Obsidian is based on [Electron](https://www.electronjs.org/), which embedded a Chromium browser)
    

    It is unfortunately necessary to install SingleFileZ to view pages from the filesystem in Chromium-based browsers because they don't allow to run fetch("") (in order to retrieve the displayed page in binary) when the page is opened from the filesystem. It looks like the same limitation is applied in Obsidian.

    2. How to detect a .html file made by "SingleFileZ"?
    

    The file can be unzipped and it contains an index.html file in the root folder or the first folder of the zip file (for MAFF files). In addition, for self-extracting pages, the <html> tag contains the attribute data-sfz.

    3. Is there a npm package to convert/decode SingleFileZ's .html content to standard HTML string?
    

    The function extractPage in the code below (heavily inspired from this gist) should help you.

    import { extract } from "https://raw.githubusercontent.com/gildas-lormeau/SingleFileZ/master/src/single-file/processors/compression/compression-extract.js";
    import * as zip from "https://raw.githubusercontent.com/gildas-lormeau/zip.js/master/index.js";
    globalThis.zip = zip;
    
    async function extractPage(zipBlob) {
      const { docContent } = await extract(zipBlob, { noBlobURL: true });
      return docContent;
    }
    

    You can also use local imports instead of retrieving scripts from raw.githubusercontent.com by importing single-filez-core and zip.js from NPM, and replacing "https://raw.githubusercontent.com/gildas-lormeau/SingleFileZ/master/src/single-file" with "single-filez-core" and "https://raw.githubusercontent.com/gildas-lormeau/zip.js/master/index.js" with "@zip.js/zip.js".

    Originally posted by @gildas-lormeau in https://github.com/nuthrash/obsidian-html-plugin/issues/1#issuecomment-1284760013

    help wanted 
    opened by nuthrash 27
  • [not-issue] usage with SingleFile

    [not-issue] usage with SingleFile

    Hi.

    Just wanna drop in and say thank you. I'm using SingleFile to archive some website into a single html file. Now with your plugin, I can view the archived html file from within Obsidian. Not counting the fact that these notes have also their own metadata in frontmatter, which is awesome.

    good first issue 
    opened by andrey-jef 12
  • Mathjax

    Mathjax

    I exported a Jupyter notebook from VSCode with a LaTeX formula and it doesn't render correctly in Obsidian. Example File The formula renders in Chrome, but not in Obsidian.

    opened by pandichef 4
  • Bug in 1.0.6 with unrestricted access

    Bug in 1.0.6 with unrestricted access

    Hello

    Thanks a lot for this update that allows to choose the level of sanitizing!! That really helps (it is a solution!) for some pages! There are two bugs, though:

    1. Not important: in the settings, when in dark mode, some part of the table and some phrases are still rendered with white background which makes them difficult to read. This is just aesthetic.
    2. This is more important: Obsidian can now show a tweet saved with SingleFile (through ThreadReader website), and the video plays well, but when you click on the tweet text (the text just above or below the video) it opens the tweet in the default browser, which is fine, only that it opens it repeated in 20 tabs or so ! When you open the very same file directly in the default brower by clicking on it in the windows explorer, it opens it, and if then you click on the tweet text it opens the tweet in twitter just once, as it should. This is in unrestriced mode, otherwise the click on the text is disabled. The attached file is for testing, and normally there is no need to go full unrestriced with it, but for other entries, it is.

    Thank you!

    TRB - ❝ 𝐘𝐚𝐲𝐚 ❞ FULL_.zip

    opened by Darkbluetest 5
Releases(1.0.6)
Owner
null
A plugin for Obsidian (https://obsidian.md) that adds a button to its search view for copying the Obsidian search URL.

Copy Search URL This plugin adds a button to Obsidian's search view. Clicking it will copy the Obsidian URL for the current search to the clipboard. T

Carlo Zottmann 6 Dec 26, 2022
An obsidian plugin allowing you to register and view different file extensions in a modular manner.

Obsidian Custom File Extensions Plugin This is a plugin for Obsidian to allow associaton of file type extensions with different in-app views via setti

null 5 Dec 6, 2022
This extensions will prompt you to remove any other extensions that we found as being broken and unmaintained.

octarine vscode extension This extensions will prompt you to remove any other extensions that we found as being broken and unmaintained. We do expect

42picky 4 May 27, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Obsidian plugin: copy document as HTML, including images

Copy as HTML Plugin for Obsidian that copies the current document to the clipboard, so it can be pasted into HTML aware application like gmail. This p

mvdkwast 18 Dec 22, 2022
File Hider - This is a plugin for Obsidian that allows hiding specific files and folders from the file explorer

File Hider - This is a plugin for Obsidian that allows hiding specific files and folders from the file explorer

Oliver 24 Dec 16, 2022
Pure CSS icons for popular file extensions

CSS file icons Pure CSS file icons for popular extensions lightweight css library Icons Demo Usage Include css-file-icons.css to html or install via n

colorswall 307 Dec 6, 2022
The Remix version of the fakebooks app demonstrated on https://remix.run. Check out the CRA version: https://github.com/kentcdodds/fakebooks-cra

Remix Fakebooks App This is a (very) simple implementation of the fakebooks mock app demonstrated on remix.run. There is no database, but there is an

Kent C. Dodds 61 Dec 22, 2022