Giter Site home page Giter Site logo

blinkfox / typora-vue-theme Goto Github PK

View Code? Open in Web Editor NEW
923.0 16.0 182.0 340 KB

This is a typora theme inspired by Vue document style. 一个类似于 Vue 文档风格的 Typora Markdown 编辑器主题。

Home Page: https://theme.typora.io/theme/Vue/

License: Apache License 2.0

CSS 100.00%
typora-theme typora-themes vue vue-doc-style

typora-vue-theme's Introduction

typora-vue-theme's People

Contributors

andyyou avatar asforest avatar blinkfox avatar lednerb avatar seiyial avatar suiyun39 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

typora-vue-theme's Issues

某些时候,有序列表标号展示有问题

如下图:

image

这段内容为:


1. aaa

   ```
   cat << EOF >  install-docker.sh
   #!/bin/sh
   
   # 安装docker
   curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
   
   wget -q https://github.com/docker/compose/releases/download/v2.17.2/docker-compose-linux-x86_64 -O /usr/bin/docker-compose
   chmod +x /usr/bin/docker-compose
   EOF
   ```

2. bbb

3. ccc

初步猜测跟1下边那段代码片段有关,去掉代码片段,这个问题就消失了,添加了代码片段,就没办法显示完全

Index of list item cannot be seen on high definition screen

Hello there. I found that when using Vue theme on Windows high definition screen (e.g. 4K, 200% scale), the index of list items cannot be seen (more specifically, the first digit cannot be seen, that is to say, 12. will only shows 2., while 1. will shows .).

Can anyone here help me fix this problem?

image

引用块颜色提示

能不能将Markdown的引用块加上颜色提示吗? 比如 Warning 黄色,Success 绿色 这样子的

heading前面自动显示章节号

谢谢提供这么好的typora theme。美观实用,而且中文显示效果很赞。

有个功能不知如何实现,我希望在heading前面自动显示章节号,有些theme,例如LostKeys提供这个功能。我不熟悉CSS,所以只好来问问。我是用typora写技术文档,所以这个功能对我挺重要。

`Inline code blocks` not Monospaced

Hi,

I realise that my inline code is not monospaced font (Roboto Mono), but the code block is.

screenshot 2018-12-05 at 00 35 55

Chinese:
嗨,我觉得以上橙色的字因该是 Monospace 的字体,是吧

关于标题的小建议

期望出现的结果
1
实际出现的结果
2
希望可以在各级标题前显示标题是几级标题,谢谢!

Highlight renders not correctly

Hello,

I noticed that when I highlight text, it doesn't render correctly.
Screenshot builtin theme "Github"
screen shot 2018-06-05 at 11 15 49

and a screenshot with this theme "vue"
screen shot 2018-06-05 at 11 16 07

Is it possible that when rendering == a new line/paragraph is started? And a multiline-highlight renders into one line.

Using: Version 0.9.9.16.2 on macOS

Greets,
Sam

Export的pdf与原始文档渲染不一致

export成pdf之后,一行能显示的内容比Typora自身渲染的一行要少,导致要做这些调整才能显得好看:

  • 代码块如果一行较长,需要折行,或者把变量名改短,让一行的长度不会超过pdf渲染出的长度
  • 有些list项,在Typora里没折行,在pdf里折行,有时为了追求好看也会去删减文字

调整了 vue.css 里面 @media print 部分的内容,把 html font-size 改成 12px 没有效果。

不太确定是不是问题,如果不是就close掉,谢谢先。

HTML Rendering Problem

First of all, thank you for this awesome theme. It was just the type of dark theme I was looking for. I noticed a weird HTML rendering issue. I created a normal H3 tag as follows.

HTML Rendering problem??

. It displays it correctly when I do not hover over it or try to edit it. But If I hover, the whole background becomes white making it difficult to read the text. Same thing when I click on it to edit. I can see the green open h3 and close h3 but the background is white due to which the text dissolves into it making it difficult to edit it to.

html rendering

Video for the bug so you can see what I'm talking about.

Issues on Vue Dark

Vue theme is really beautiful and concise. But there are two issues I met.
when I right click the file or folder in the file list, the background color and text color around the cursor are the same.
image
When I try to create a new file or folder, text color is kind of unclear, which is not convenient to enter the filename.
image

专注模式下颜色逻辑貌似反了

从图片上可以看出来 我当前光标的所在的地方 颜色是暗的,其他地方依然是明亮的,这个逻辑和专注模式反了 =,=
Xnip2020-04-08_09-58-50
自己尝试去改CSS了 但是没有找到关键代码 ,最后无功而返

mermaid处于编辑状态时,下方文本内容上移

首先感谢大佬的主题方案。

当光标在mermaid图中,使其处于编辑状态时,下方的内容会上移,导致显示重叠。光标离开mermaid编辑状态时,恢复正常。

切换回默认主题后问题消失。

// 使用~~~代替三个点号演示mermaid
~~~mermaid
graph LR
a --- b --- c
~~~
~~~mermaid
graph LR
d --- e --- f --- g
~~~

image

image

无法将字体设为Noto Serif显示

我用过如下两种方法,但显示效果为只有英文和阿拉伯数字可以以Noto Serif来渲染,而中文不行。

第一种方法

    font-family: Noto Serif;
    font-style: normal;
    font-weight: 600;
    src: local('Noto Serif SC Regular'), url('vue/NotoSerifSC-Regular.otf') format('otf');
}
```body {
    font-family: Source Sans Pro, Helvetica Neue, Arial, sans-serif !important;
    color: #34495e;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6rem;
    letter-spacing: 0;
    margin: 0;
    overflow-x: hidden;
}

第二种方法:
将所有引用了本地Source Sans Pro的本地地址改为Noto Serif 的本地地址,如:

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url('vue/NotoSerifSC-SemiBold.otf') format('otf');
    /* src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url('vue/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmRduz8A.woff2') format('woff2'); */
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.