Giter VIP home page Giter VIP logo

blackfriday-confluence's Introduction

๐Ÿ‘‹ Hello, I'm Kentaro!

I'm a web developer in Kanazawa, Japan. I've created some tools to improve productivity for developers.

๐Ÿ’– Support my projects on GitHub Sponsor

๐Ÿ˜„ About me

  • ๐Ÿ”ญ I'm working to improve gaming platform at EXNOA LLC.
  • ๐ŸŒฑ Iโ€™m learning GraphQL, React and TypeScript.

๐ŸŒŽ Find me on the web

  • ๐Ÿฆ Tweeting my daily life on Twitter
  • ๐ŸŽ™๏ธ Sharing my talks on Speaker Deck
  • ๐Ÿ“ Writing technical articles on Blog

๐Ÿ“ซ Get in touch

blackfriday-confluence's People

Contributors

ankitpokhrel avatar bartle-stripe avatar hirose31 avatar kentaro-m avatar munsio avatar zabawaba99 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

Watchers

 avatar  avatar

blackfriday-confluence's Issues

Paragraphs are not rendered correctly

I'm running into what appears to be a bug in how blackfriday-confluence renders paragraphs.

I would expect that two lines of text separated by a blank line would be rendered as two separate paragraphs, but I am seeing them concatenated.

You can reproduce this with the following:

package main

import (
  bf "github.com/russross/blackfriday/v2"
  bfconfluence "github.com/kentaro-m/blackfriday-confluence"
  "fmt"
)

func main() {
  renderer := &bfconfluence.Renderer{}
  extensions := bf.CommonExtensions
  md := bf.New(bf.WithRenderer(renderer), bf.WithExtensions(extensions))

  input := `first paragraph

second paragraph`

  ast := md.Parse([]byte(input))
  confluence_output := renderer.Render(ast)

  fmt.Printf("%s\n", confluence_output)
}

Running that, I get

first paragraphsecond paragraph

but expected to get

first paragraph

second paragraph

Let me know if there's more info that I could provide that would be helpful.

Add support for rending macros.

Currently, if you try to use a macro in wiki format (e.g. {children:reverse=true|sort=creation}), it gets escaped and does not render correctly in Confluence.

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.