tutorial examples image github markdown floating

image - examples - markdown underline



Imágenes flotantes en Github Readme (2)

¿Cómo voy a hacer esto? Poner el siguiente código en el generador de Markdown me da la salida deseada

<div style="float: left"><img src="http://ompldr.org/vaDU5NQ/scrotter.png"/> </div> I''m trying not to, kid. Don''t act so surprised, Your Highness. You weren''t on any mercy mission this time. Several transmissions were beamed to this ship by Rebel spies. I want to know what happened to the plans they sent you. Kid, I''ve flown from one side of this galaxy to the other. I''ve seen a lot of strange stuff, but I''ve never seen anything to make me believe there''s one all-powerful Force controlling everything.

Sin embargo, agregar este código a mi archivo README.md lo convierte en una imagen en línea en lugar de flotar.

¿Cómo podría evitar esto? ¿Es un error de Github?


Creo que es un problema de seguridad con GitHub. Mi entendimiento es que eliminan todos los atributos HTML, como el style con la excepción de quizás href .


Sé que este hilo es antiguo, pero para cualquier persona interesada, puedes usar <img align="left" src="img.jpg"> y <img align="right" src="img.jpg"> para flotar imágenes en GitHub .