Coder Social home page Coder Social logo

dreamwidth-js's People

Contributors

gromnitsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dreamwidth-js's Issues

Probably down to the 'greedy' markdown library used but...

Lorem ipsum dolor sit amet, (*consectetur adipiscing elit*), sed do eiusmod tempor incididunt ut labore et dolore *magna* aliqua.

..gets translated by entry-post-md to..

Lorem ipsum dolor sit amet, (<em>consectetur adipiscing elit*), sed do eiusmod tempor incididunt ut labore et dolore *magna</em> aliqua.

..rather than the expected..

Lorem ipsum dolor sit amet, (<em>consectetur adipiscing elit</em>), sed do eiusmod tempor incididunt ut labore et dolore <em>magna</em> aliqua.

Github formats that string as expected:

Lorem ipsum dolor sit amet, (consectetur adipiscing elit), sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

entry-post-md doesn't do superscript and subscript

19^th^

H~2~O

.. doesn't superscript the th or subscript the 2 when posted - the ^ are shown instead and, although only one is used either side, ~ is treated as strikeout.

I can see from the preview that github's markdown may not support these, but DW allows the super/subscript HTML.

Posting markdown

First, huge thanks for this - after a OS update, the long-unsupported drivel client won't install even from my copy of the 3.0.5 .deb, so I am without a DW client.

(Looks at readme) Well, markdown looks the better option, let's try it...

---
subject Test post
tags: markdown
security: access
---

Hello markdown posting world
$dreamwidth-js entry-post-md <test.md 
entry-post-md: YAMLException: end of the stream or a document separator is expected at line 2, column 5:
    tags: markdown
        ^

If I install kramdown and use that to convert to HTML..

kramdown test.md | dreamwidth-js entry-post

.. it posts (yay) but with no subject, tags and as private (oh). I can easily edit those, but what is the secret to posting via markdown?

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.