Show page in a more document like look and provide quick exporting.

Overview

logseq-plugin-doc

将页面已更加文章化的形式展示,并提供快速导出功能。

Show page in a more document like look and provide quick exporting.

使用展示 (Usage)

demo

关于无序列表 (About bullet lists)

你可以在无序列表的块上加#ul标签,这样插件就知道这是一个无序列表并配合排版了。

You can add a #ul tag to a block that is a bullet list, in this way, the plugin will know to format it accordingly.

示例 (Example)

Bullet List

用户配置 (User configs)

{
  "disabled": false,
  "showReferences": false
}

在 Logseq 的插件页面打开插件的配置后,有以下几项配置可供使用,请参照上方代码块进行设置(各项的默认值以体现在代码块中):

  • showReferences: 是否在文档视图中显示有关联的页面。

There are a couple of user settings available when you access the plugin settings from Logseq's plugins page. Please refer to the source block above (Default values are given in the source block).

  • showReferences: It defines whether or not to show the "Linked Reference" section.
Comments
  • Make TOC Links from logseq-plugin-tocgen working in HTML export

    Make TOC Links from logseq-plugin-tocgen working in HTML export

    I tried also if my suggestion from the initial issue post to make the Table of Contents from your other plugin https://github.com/sethyuan/logseq-plugin-tocgen work to jump to anchors in the same HTML. see Note on TOCs: https://github.com/sethyuan/logseq-plugin-doc/issues/20

    • It seems that the document export does not render those links in any way.
    • In the preview in Logseq the links are working by opening the block in a new view limited to the block.
    • The action sems to be executed by Javascript, not any HTML Link machinery.

    It would be good to know if fixing the TOC challenge would be be fine here in the DOC plugin or better solved in the https://github.com/sethyuan/logseq-plugin-tocgen.

    When solved there the Target Anchors could be opened in the same HTML only if anchors are included in the html. Otherwise the links can just point to the block itself in Logseq and opens in the app as well.

    Feel free to ask if something is unclear.

    opened by acsr 12
  • Disable intra-graph links

    Disable intra-graph links

    I'd like to give my exported page to others and since they don't have access to my graph, I'd like to be able to disable the links to other pages of my graph.

    opened by MrGung 6
  • export is not working

    export is not working

    Hi, thank you for making this plugin. It has been really helpful viewing my pages.

    I have a question about export. I am using logseq latest version (version 0.7.9). When I click the export button it doesn't do anything, no pop-up windows. I am using manjaro, in case os will make something different. What do you think the issue might be? Thanks!

    opened by cnut1648 4
  • equations not getting exported properly when exported to HTML

    equations not getting exported properly when exported to HTML

    When the doc is being exported to HTML, the text for equation is not getting rendered properly.

    For example, the text $m_ee^2c$ is being rendered as shown in the attached screenshot. You can see that is first shows the equation in correct form, but then it is followed by the equation text again.

    Screenshot 2022-01-24 at 21 02 20

    opened by AvijeetPrasad 4
  • 导出时,主题样式为logseq默认样式而非选择样式

    导出时,主题样式为logseq默认样式而非选择样式

    因为用的主题一直都是yoyurec大佬开发的主题,非常美观大气,然后前段时间导出是可以带着主题样式一起导出,也就是在logseq上是什么样式就导出什么样式,后来因为插件不断优化,这个功能就变糟糕了,为此我向yoyurec大佬反映过,然后他向您提出请求你合并后,其效果也没有回到之前,想问下,这个功能可以有嘛,非常喜欢导出时保留在logseq上所选择的主题样式,目前情况如下

    logseq上 001 导出时 002

    一直很喜欢你的插件,很棒,yoyurec大佬的主题我也很喜欢,都想要保留

    opened by lion-no-back 3
  • Add exported class

    Add exported class

    Theme developers can adjust styles for exported version of pages. B'cose just using existing .kef-doc (<div id="app-container" class="kef-doc"> ) also applied in preview can broke their theme.

    opened by yoyurec 3
  • Add a document style #.ul-nested to allow for deep nested unordered lists without markup going wild

    Add a document style #.ul-nested to allow for deep nested unordered lists without markup going wild

    The #.ul works already great and the #.ol and #.ol-nested from the https://github.com/sethyuan/logseq-plugin-ol plugin as well.

    A similar #.ul-nested would help to simplify the markup of deeply nested lists by adding it just to the top level.

    Since it is not directly related to the other plugin, I post it here.

    enhancement 
    opened by acsr 3
  • [featur request] Enhance Block IDs in HTML to full fledged Logseq links (optional)

    [featur request] Enhance Block IDs in HTML to full fledged Logseq links (optional)

    The HTML source contains block ids for tags and named pages. When hovering the browser (Chrome) recognizes the link but does not complete a useful clickable URL.

    Files printed to PDF from the browser, look nice but contain no remaining link references

    It is possible to either

    1. enrich the html to get full fledged Logseq links of the form logseq://graph/my-pkm?block-id=62cd38e0-5071-4bb0-8531-4a3c00012345 for tags?
    2. add a javascript to enhance the links in the browser to achieve this.

    Options:

    • Limit to links inside of the export (useful for Tocs, Security)

    Actually the full fledged Logseq Export does some parts this, but the boilerplate is overkill for just one document. I like your HTML to easily render to PDF.

    This is just a suggestion. I need to dive deeper to find out if there is a chance to add it myself.

    enhancement 
    opened by acsr 3
  • Issues with view on Logseq 0.5.6

    Issues with view on Logseq 0.5.6

    Screen Shot 2021-12-29 at 5 03 01 PM While in the view for doc mode, the bullet lines aren't going away fully in the latest version of logseq. Issue is stemming from the latest feature for clicking the lines to collapse and expand bullets.

    opened by sawhney17 3
  • Modification to print bullet symbol when printing the exported html?

    Modification to print bullet symbol when printing the exported html?

    this is how my note looks like in the exported html file image

    This is the printed pdf file (using Ctrl P on Google Chrome) image

    The bullet point image is visible in the exported html file but not in the printed pdf file.

    The indentation helps a lot in recognizing the hierarchy. But having a bullet point image would help a bit more in recognizing the indentation level. Don't know if you could make it happen somehow?

    opened by nhan000 2
  • Images exported with invalid paths

    Images exported with invalid paths

    When exporting HTML, if page contains images, the exported paths reference original image locations. I would expect to images be either embed into HTML document or exported to some assets directory for easy sharing.

    enhancement 
    opened by kaolpr 2
  • When requesting an export, you can export the directory functionality together

    When requesting an export, you can export the directory functionality together

    I really like this plug-in you developed. It has been about two months since I started using it. It has brought me a lot of convenience. I just don’t know if it is possible to add the generated directory when exporting function is used

    enhancement 
    opened by lion-no-back 5
Releases(v1.14.1)
Owner
Seth Yuan
Seth Yuan
Generate a TOC of any page anywhere to quickly access the page's content.

logseq-plugin-tocgen 在任何地方生成任一页面/块的目录,通过它你可以快速访问页面/块内容。同时提供了滚动回页面顶部的功能。 Generate a TOC of any page/block anywhere and quickly access the page/block's

Seth Yuan 90 Jan 4, 2023
The code base that powered India in Pixels' YouTube channel for more than 2 years - now open sourced for you to use on your own projects

India in Pixels Bar Chart Racing For over two years, this nifty code base powered India in Pixels' YouTube channel with videos fetching over millions

India in Pixels 141 Dec 4, 2022
Chart.js plugin for more styling options

chartjs-plugin-style Chart.js plugin for more styling options This plugin requires Chart.js 2.6.0 or later. Installation You can download the latest v

Akihiko Kusanagi 57 Oct 27, 2022
Chart.js scale for hierarchical tree-like data structure

Chart.js Hierarchical Scale Plugin Chart.js module for adding a new categorical scale which mimics a hierarchical tree. Related Plugins Check out also

Samuel Gratzl 40 Dec 17, 2022
Free Bootstrap 5 Admin and Dashboard Template that comes with all essential dashboard components, elements, charts, graph and application pages. Download now for free and use with personal or commercial projects.

PlainAdmin - Free Bootstrap 5 Dashboard Template PlainAdmin is a free and open-source Bootstrap 5 admin and dashboard template that comes with - all e

PlainAdmin 238 Dec 31, 2022
Processing Foundation 18.6k Jan 1, 2023
Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.

Babylon.js Getting started? Play directly with the Babylon.js API using our playground. It also contains a lot of samples to learn how to use it. Any

Babylon.js 19.1k Jan 4, 2023
A library optimized for concise and principled data graphics and layouts.

MetricsGraphics is a library built for visualizing and laying out time-series data. At around 15kB (gzipped), it provides a simple way to produce comm

Metrics Graphics 7.5k Dec 22, 2022
danfo.js is an open source, JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.

Danfojs: powerful javascript data analysis toolkit What is it? Danfo.js is a javascript package that provides fast, flexible, and expressive data stru

JSdata 4k Dec 29, 2022
Matteo Bruni 4.7k Jan 4, 2023
A library optimized for concise and principled data graphics and layouts.

MetricsGraphics is a library built for visualizing and laying out time-series data. At around 15kB (gzipped), it provides a simple way to produce comm

Metrics Graphics 7.5k Dec 22, 2022
TChart.js - simple and configurable Bar and Line Chart library in Javascript

TChart.js Simple and configurable Bar and Line Chart library in Javascript Description TChart.js is a canvas-based simple Javascript Bar and Line Char

null 4 Mar 3, 2021
Chart.js plugin to calculate and draw statistical linear, exponential, power, logarithmic, and polynomial regressions.

chartjs-plugin-regression Chart.js plugin to calculate and draw statistical linear, exponential, power, logarithmic, and polynomial regressions using

Wilfredo Pomier 14 Dec 18, 2022
Visualize your tech stack and database with a simple, beautiful, and interactive web app.

Stacify Visualize your tech stack and database with a simple, beautiful, and interactive web app. Why Stacify Why would you want to use Stacify? Well,

Isaiah Hamilton 1 Jan 20, 2022
Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

D3: Data-Driven Documents D3 (or D3.js) is a JavaScript library for visualizing data using web standards. D3 helps you bring data to life using SVG, C

D3 103.8k Jan 3, 2023
Apache ECharts is a powerful, interactive charting and data visualization library for browser

Apache ECharts Apache ECharts is a free, powerful charting and visualization library offering an easy way of adding intuitive, interactive, and highly

The Apache Software Foundation 53.8k Jan 9, 2023
Redefined chart library built with React and D3

Recharts Introduction Recharts is a Redefined chart library built with React and D3. The main purpose of this library is to help you to write charts i

recharts 19.4k Jan 2, 2023
The Swiss Army Knife of Vector Graphics Scripting – Scriptographer ported to JavaScript and the browser, using HTML5 Canvas. Created by @lehni & @puckey

Paper.js - The Swiss Army Knife of Vector Graphics Scripting If you want to work with Paper.js, simply download the latest "stable" version from http:

Paper.js 13.5k Dec 30, 2022