Code Monkey home page Code Monkey logo

Comments (6)

blyxyas avatar blyxyas commented on May 29, 2024

I could see it being implemented. Im currently a little bit busy, so it will take some days / weeks. If you want to implement it yourself, I'll gladly accept it.

from mdbook-emojicodes.

savbran avatar savbran commented on May 29, 2024

@blyxyas thanks for your answer. I'm not a Rust expert but I'm learning it. Considering this is an interesting feature, take you time no problem. Meanwhile I'll try to clone your repository and give a look, trying to understand how the "crate content" works :) ... regards.

from mdbook-emojicodes.

blyxyas avatar blyxyas commented on May 29, 2024

Ok I implemented it:

Now you can have a my_svg.svg in the directory src/custom_emojis and use it like any other emoji.

image

# Chapter 1

:my_svg:

image

from mdbook-emojicodes.

blyxyas avatar blyxyas commented on May 29, 2024

@savbran let me know if this is what you meant, the size obviously depends on the size of your vector graphic

from mdbook-emojicodes.

savbran avatar savbran commented on May 29, 2024

@blyxyas did you push the update on the master branch? I ask because I can't see any recent change.
Anyway, the size should be the one of emojis, like on this text row with the emojis: 🐞 😃
If you push the update I can try... many thanks!

from mdbook-emojicodes.

blyxyas avatar blyxyas commented on May 29, 2024

@savbran This feature has been successfully implemented and available in version 0.2.1. Let me know if you need anything.

from mdbook-emojicodes.

Related Issues (6)

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.