Giter Site home page Giter Site logo

raathigesh / semantic-edit Goto Github PK

View Code? Open in Web Editor NEW
111.0 9.0 12.0 2.37 MB

:pencil2: Real-time Preview Enabled Semantic UI Composer

Home Page: http://raathigesh.com/semantic/

JavaScript 95.40% HTML 4.60%
semantic-ui online-editor dev-tool composer

semantic-edit's Introduction

Logo

Real-time Preview Enabled Semantic UI Composer

How?

Copy the following Semantic-UI markup to Semantic Edit editor.

<div class="ui card">
  <div class="image">
    <img src="http://semantic-ui.com/images/avatar2/large/kristy.png">
  </div>
  <div class="content">
    <a class="header">Kristy</a>
    <div class="meta">
      <span class="date">Joined in 2013</span>
    </div>
    <div class="description">
      Kristy is an art director living in New York.
    </div>
  </div>
  <div class="extra content">
    <a>
      <i class="user icon"></i>
      22 Friends
    </a>
  </div>
</div>

You could copy and paste any Semantic UI components.

But Why?

Semantic UI is an awesome library with excellent components that you can use to quickly build web interfaces. But I felt like it would be nicer if we can compose bunch of elements and see in realtime how they fit together. That's why Semantic Edit.

Features

  • Beautifier

Run & Build from sourcecode

Clone the sourcecode:

git clone https://github.com/Raathigesh/semantic-edit.git

Install the dependencies:

npm install

Install webpack and the development server:

npm i webpack-dev-server webpack -g

You can simply run webpack build using this command:

npm run build

If you want to run with webpack-dev-server simply run this command:

npm run dev

Open the web browser to http://localhost:8080/

What's Under the Hood?

JavaScript!

SemanticEdit uses the following

That's It?

I'm hoping to add features as I move along. Got a feature suggestion? Would love to hear about it. Please create a new issues.

Stay Updated

semantic-edit's People

Contributors

keshann93 avatar raathigesh avatar samuelandert 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

semantic-edit's Issues

Improve UI

Improve UI by adding more details to indicate how to use the tool effectively.

  • Add label for saying the editor accepts html.

Snippets

Could be interesting to get some code examples to insert (either replace or add) into the edited code, something like planttext.com does, but I would suggest adding selected code snippets instead of replace the existing code. :-)

The snippets could be from the same SemanticUI documentation, or some cool implementations from other users.

Alert before exiting

Should make sure people cannot lose progress by alerting them before leaving the tab/window.

How can I help?

Hey Raathigesh,
I am really new to programming and just started to mess around with a little bit of code. But as far as I can judge, what you are creating with SemanticEdit is huge thing, which I was searching for already for a long time, so I would like to support. Is there anything easy or simple I can do some improvements? If you are guiding me through, I gladly help!
Best
Sam

Have an option to resolve images from semantic-ui.com

Semantic UI documentation has relative image URL as below.

<img src="/images/avatar2/large/kristy.png">

So when we copy paste the markup directyly we have to change the URL to absolute as below manually

<img src="http://semantic-ui.com/images/avatar2/large/kristy.png">

It would be nice to have an option (Checkbox or a Toggle), when checked, will automatically change the image URL's to absolute URL.

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.